blob: 684e73b3234768b17d6d7c76f323693a3d76730f (
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
|
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!()
}
}
|