MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / append_suffix

Function append_suffix

atomic-cli/src/commands/git/observation.rs:1433–1437  ·  view source on GitHub ↗
(path: &Path, suffix: &str)

Source from the content-addressed store, hash-verified

1431}
1432
1433fn append_suffix(path: &Path, suffix: &str) -> PathBuf {
1434 let mut value = path.as_os_str().to_os_string();
1435 value.push(suffix);
1436 PathBuf::from(value)
1437}
1438
1439pub(super) fn resolve_common_dir(worktree_git_dir: &Path) -> Result<PathBuf, ObservationError> {
1440 let path = worktree_git_dir.join("commondir");

Callers 1

observe_locksFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected