summaryrefslogtreecommitdiff
path: root/v1/src/data.rs
blob: 4b1da5a39e2d940679bd824337e3ca968a975f91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
pub static MESSAGE: &'static str = "Hello";

pub enum SimpleFsData {
    File(String, String),
    Directory(String, Vec<SimpleFsData>)
}

// pub static HELLO: &'static SimpleFsData =
//     SimpleFsData:File("hello.txt", "Hello World");

pub fn getData1() -> SimpleFsData {
    SimpleFsData::File("hello.txt".to_string(), "Hello".to_string())
}