Struct askalono::Store
[−]
[src]
pub struct Store { pub licenses: HashMap<String, LicenseData>, }
Fields
licenses: HashMap<String, LicenseData>
Methods
impl Store
[src]
fn new() -> Store
[src]
fn load_spdx(
&mut self,
dir: &str,
include_texts: bool
) -> Result<(), Box<Error>>
[src]
&mut self,
dir: &str,
include_texts: bool
) -> Result<(), Box<Error>>
impl Store
[src]
fn analyze_content(&self, content: &LicenseContent) -> Match
[src]
impl Store
[src]
fn from_cache_file(filename: &str) -> Result<Box<Store>, Box<Error>>
[src]
fn from_cache<R>(readable: R) -> Result<Box<Store>, Box<Error>> where
R: Read + Sized,
[src]
R: Read + Sized,