We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
validate_license_expr()
1 parent 26677f7 commit 14f961bCopy full SHA for 14f961b
src/models.rs
@@ -30,4 +30,4 @@ mod rights;
30
mod team;
31
pub mod token;
32
pub mod user;
33
-mod version;
+pub mod version;
src/models/version.rs
@@ -209,7 +209,7 @@ impl NewVersion {
209
}
210
211
212
-fn validate_license_expr(s: &str) -> AppResult<()> {
+pub fn validate_license_expr(s: &str) -> AppResult<()> {
213
pub const PARSE_MODE: spdx::ParseMode = spdx::ParseMode {
214
allow_lower_case_operators: false,
215
allow_slash_as_or_operator: true,
0 commit comments