summaryrefslogtreecommitdiff
path: root/src/name.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/name.rs')
-rw-r--r--src/name.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/name.rs b/src/name.rs
index e0b4882..9cfca6b 100644
--- a/src/name.rs
+++ b/src/name.rs
@@ -73,6 +73,14 @@ impl NameBuilder {
}
}
+ pub fn srcdir(&self) -> &Path {
+ &self.srcdir
+ }
+
+ pub fn destdir(&self) -> &Path {
+ &self.destdir
+ }
+
fn name(&self, path: &Path, ext: Option<&str>) -> Name {
assert!(path.starts_with(&self.srcdir));
let src = path.into();