Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/AI45Lab/Code
/ as_str
Method
as_str
core/src/workspace/mod.rs:73–75 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
71
}
72
73
pub fn as_str(&self) -> &str {
74
&self.inner
75
}
76
77
pub fn is_root(&self) -> bool {
78
self.inner ==
"."
Callers
15
check_workspace_boundary
Method · 0.45
capture_snapshot
Method · 0.45
execute
Method · 0.45
read_text
Method · 0.45
write_text
Method · 0.45
test_tool_executor_get_artifact
Function · 0.45
test_tool_executor_respects_artifact_limits
Function · 0.45
execute
Method · 0.45
select_tools_for_prompt
Function · 0.45
selection_context
Function · 0.45
default_turn_keeps_core_and_hides_special_tools
Function · 0.45
program_terms_enable_program_tool
Function · 0.45
Calls
no outgoing calls
Tested by
15
test_tool_executor_get_artifact
Function · 0.36
test_tool_executor_respects_artifact_limits
Function · 0.36
default_turn_keeps_core_and_hides_special_tools
Function · 0.36
program_terms_enable_program_tool
Function · 0.36
web_and_git_terms_enable_relevant_tools
Function · 0.36
mcp_tools_need_mcp_intent_or_direct_match
Function · 0.36
test_registry_truncates_large_tool_output
Function · 0.36
test_registry_execute_raw_stores_truncated_artifact
Function · 0.36
test_default_classification_rules
Function · 0.36
load_test_config
Function · 0.36
test_openai_parse_tool_arguments_preserves_parse_error
Function · 0.36
read_text
Method · 0.36