Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/AI45Lab/Code
/ is_empty
Method
is_empty
core/src/tools/registry.rs:144–146 ·
view source on GitHub ↗
Check if registry is empty
(&self)
Source
from the content-addressed store, hash-verified
142
143
/// Check if registry is empty
144
pub fn is_empty(&self) -> bool {
145
self.len() == 0
146
}
147
148
/// Get the tool context
149
pub fn context(&self) -> ToolContext {
Callers
15
list_dir
Method · 0.45
select_tools_for_prompt
Function · 0.45
render_script_output
Function · 0.45
execute
Method · 0.45
create_skill_permission_policy
Method · 0.45
complete
Method · 0.45
execute
Method · 0.45
execute
Method · 0.45
execute
Method · 0.45
tokenize_windows_command
Function · 0.45
maybe_execute_simple_windows_http_command
Function · 0.45
parse_bare_key
Method · 0.45
Calls
1
len
Method · 0.45
Tested by
no test coverage detected