diff options
Diffstat (limited to 'src/project.rs')
-rw-r--r-- | src/project.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/project.rs b/src/project.rs new file mode 100644 index 0000000..1188c88 --- /dev/null +++ b/src/project.rs @@ -0,0 +1,12 @@ +use std::{path::PathBuf, time::Duration}; + +pub use git::GitProject; +pub use path::PathProject; + +mod git; +mod path; + +pub trait Project { + fn timestamp(&self) -> Option<Duration>; + fn to_path_buf(&self) -> PathBuf; +} |