Get the output directory and clear it.

This commit is contained in:
Tom Alexander
2023-10-22 14:40:59 -04:00
parent 07e4209048
commit a9fbb4cd63
2 changed files with 26 additions and 0 deletions

View File

@@ -55,4 +55,8 @@ impl Config {
pub(crate) fn get_posts_directory(&self) -> PathBuf {
self.get_root_directory().join("posts")
}
pub(crate) fn get_output_directory(&self) -> PathBuf {
self.get_root_directory().join("output")
}
}