diff options
Diffstat (limited to 'src/fs.rs')
-rw-r--r-- | src/fs.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fs.rs b/src/fs.rs index b44e4c4..7dc94d3 100644 --- a/src/fs.rs +++ b/src/fs.rs @@ -8,7 +8,7 @@ use crate::RuntimeError; /// below the webroot and will never start or end with a slash. #[derive(Clone, Debug, PartialEq)] pub struct Webpath { - webcanon: Utf8PathBuf, + pub webcanon: Utf8PathBuf, is_dir: bool, } @@ -106,7 +106,6 @@ impl Filesystem { } pub fn resolve(&self, webpath: &Webpath) -> Result<PathResolution, RuntimeError> { - println!("resolve = {webpath}"); if webpath.is_index() || webpath == ROOT_INDEX { return Ok(PathResolution { filepath: self.webroot.join(ROOT_INDEX), |