diff options
author | gennyble <gen@nyble.dev> | 2024-04-13 05:40:17 -0500 |
---|---|---|
committer | gennyble <gen@nyble.dev> | 2024-04-13 05:40:17 -0500 |
commit | fafb3c3ceaa16e93f69b38e33e64e240573e4875 (patch) | |
tree | c49c9eb94e6c14c089847c02ba156d5566e5b118 /src/fs.rs | |
parent | 1b93aecbdc261ca2f7932db2754c6e33487dd9c8 (diff) | |
download | awake-fafb3c3ceaa16e93f69b38e33e64e240573e4875.tar.gz awake-fafb3c3ceaa16e93f69b38e33e64e240573e4875.zip |
:)
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), |