blob: b955ccde361953f6d7de558bd0d940a9dc6a06a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
//! ref: composer/vendor/composer/spdx-licenses/src/SpdxLicenses.php
use shirabe_php_shim::PhpMixed;
#[derive(Debug)]
pub struct SpdxLicenses;
impl Default for SpdxLicenses {
fn default() -> Self {
Self::new()
}
}
impl SpdxLicenses {
pub fn new() -> Self {
todo!()
}
pub fn validate(&self, _license: &str) -> bool {
todo!()
}
pub fn get_license_by_identifier(&self, _identifier: &str) -> Option<PhpMixed> {
todo!()
}
pub fn get_licenses(&self) -> PhpMixed {
todo!()
}
}
|