imag/src/storage/file_id.rs

17 lines
270 B
Rust
Raw Normal View History

2015-11-23 17:42:55 +00:00
use std::path::{Path, PathBuf};
pub type FileID = String;
pub fn from_path_string(s: &String) -> FileID {
String::from("")
}
pub fn from_path(p: &Path) -> FileID {
String::from("")
}
pub fn from_pathbuf(p: &PathBuf) -> FileID {
from_path(p.as_path())
}