diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-04 15:02:07 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-04 15:44:11 +0900 |
| commit | fe9e449adb6bd57e66c7ba82ba3effd93b61942e (patch) | |
| tree | 3146f0de4dfc2d2024226d84ee1761aac2c873bd /crates/mozart-core | |
| parent | d4309521f10b6f0090ef2548fb8f241949074e1f (diff) | |
| download | php-mozart-fe9e449adb6bd57e66c7ba82ba3effd93b61942e.tar.gz php-mozart-fe9e449adb6bd57e66c7ba82ba3effd93b61942e.tar.zst php-mozart-fe9e449adb6bd57e66c7ba82ba3effd93b61942e.zip | |
refactor(spdx-licenses): remove unused functions
Diffstat (limited to 'crates/mozart-core')
| -rw-r--r-- | crates/mozart-core/src/validation.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/crates/mozart-core/src/validation.rs b/crates/mozart-core/src/validation.rs index 7b97666..24f1705 100644 --- a/crates/mozart-core/src/validation.rs +++ b/crates/mozart-core/src/validation.rs @@ -55,10 +55,6 @@ pub fn validate_license(s: &str) -> bool { mozart_spdx_licenses::spdx().validate(s) } -pub fn is_license_deprecated(s: &str) -> bool { - mozart_spdx_licenses::spdx().is_deprecated(s) -} - pub fn validate_autoload_path(s: &str) -> bool { AUTOLOAD_PATH_RE.is_match(s) } |
