imag/src/storage/file_id.rs

16 lines
270 B
Rust

use std::path::{Path, PathBuf};
pub type FileID = String;
pub fn from_path_string(s: &String) -> FileID {
unimplemented!()
}
pub fn from_path(p: &Path) -> FileID {
unimplemented!()
}
pub fn from_pathbuf(p: &PathBuf) -> FileID {
from_path(p.as_path())
}