Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ new
Method
new
crates/opencode-session/src/snapshot.rs:16–18 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
14
15
impl Snapshot {
16
pub fn new() -> Self {
17
Self
18
}
19
20
pub fn track(directory: &Path) -> Result<String> {
21
let git_dir = ensure_snapshot_repo(directory)?;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected