diff options
Diffstat (limited to 'rola-cli/src/res/current_dir.rs')
| -rw-r--r-- | rola-cli/src/res/current_dir.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/rola-cli/src/res/current_dir.rs b/rola-cli/src/res/current_dir.rs new file mode 100644 index 0000000..b774705 --- /dev/null +++ b/rola-cli/src/res/current_dir.rs @@ -0,0 +1,11 @@ +use std::path::PathBuf; + +/// Represents the current working directory. +/// +/// This struct encapsulates the path of the current working directory, +/// providing a clear abstraction for directory context throughout the application. +#[derive(Debug, Default, Clone)] +pub struct ResCurrentDir { + /// The current working directory path. + pub cwd: PathBuf, +} |
