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

Method default

crates/opencode-tui/src/file_index.rs:20–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18
19impl Default for FileIndex {
20 fn default() -> Self {
21 Self {
22 entries: Vec::new(),
23 last_refresh: None,
24 root: None,
25 max_depth: DEFAULT_MAX_DEPTH,
26 }
27 }
28}
29
30impl FileIndex {

Callers

nothing calls this directly

Calls 1

newFunction · 0.85

Tested by

no test coverage detected