MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / snapshot_git_dir

Function snapshot_git_dir

crates/opencode-session/src/snapshot.rs:195–197  ·  view source on GitHub ↗
(directory: &Path)

Source from the content-addressed store, hash-verified

193}
194
195fn snapshot_git_dir(directory: &Path) -> PathBuf {
196 directory.join(".opencode").join("snapshot")
197}
198
199fn ensure_snapshot_repo(directory: &Path) -> Result<PathBuf> {
200 let git_dir = snapshot_git_dir(directory);

Callers 1

ensure_snapshot_repoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected