MCPcopy Index your code
hub / github.com/AI45Lab/Code / is_root

Method is_root

core/src/workspace/mod.rs:77–79  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

75 }
76
77 pub fn is_root(&self) -> bool {
78 self.inner == "."
79 }
80}
81
82/// Workspace capability flags used to gate which built-in tools are registered.

Callers 13

capture_snapshotMethod · 0.80
list_dirMethod · 0.80
display_pathMethod · 0.80
key_forMethod · 0.80
list_prefix_forMethod · 0.80
list_dirMethod · 0.80
join_workspace_pathFunction · 0.80
list_dirMethod · 0.80
local_path_for_writeMethod · 0.80
list_dirMethod · 0.80
list_dirMethod · 0.80
globMethod · 0.80

Calls

no outgoing calls

Tested by 4

list_dirMethod · 0.64
list_dirMethod · 0.64
globMethod · 0.64
grepMethod · 0.64