Skip to content

0x07C0/fsn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File Structure Notation

File Structure Notation (.fsn) format parser

Install

$ cargo add fsn

or add fsn = "0.1.4" to [dependencies] in Cargo.toml

Examples

match parse_file(Path::new("./examples/c.fsn")){
    Ok(s) => {
        for dir in s.directories {
            println!("Dir: {dir}")
        }
        for file in s.files {
            println!("File: {}", file.name);
           println!("{}", file.contents)
        }
    },
    Err(e) => println!("err {e}")
}

About

File Structure Notation (.fsn) format parser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages