docs: align directory history contract
This commit is contained in:
1 parent
1338cce766
commit
d192e2a190
1 file changed
+1
-1
@@ -157,7 +157,7 @@ impl DirectoryHistory {
|
||||
}
|
||||
}
|
||||
|
||||
/// Record a directory only after the shell reports it as the active cwd.
|
||||
/// Record a directory confirmed by local terminal startup or cwd reporting.
|
||||
pub(crate) fn record(&self, path: &str) -> bool {
|
||||
let Some(observation) = observation(path, current_time()) else { return false };
|
||||
let mut state = self.state.lock();
|
||||
|
||||
Reference in new issue
Block a user