mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-31 16:33:10 +00:00
workspace: add settings() getter
This commit is contained in:
parent
556ef26608
commit
393f3acb03
1 changed files with 5 additions and 0 deletions
|
@ -408,6 +408,11 @@ impl Workspace {
|
|||
&self.repo_loader
|
||||
}
|
||||
|
||||
/// Settings for this workspace.
|
||||
pub fn settings(&self) -> &UserSettings {
|
||||
self.repo_loader.settings()
|
||||
}
|
||||
|
||||
pub fn working_copy(&self) -> &dyn WorkingCopy {
|
||||
self.working_copy.as_ref()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue