Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AI45Lab/Code
/ len
Method
len
core/src/commands.rs:208–210 ·
view source on GitHub ↗
Number of registered commands.
(&self)
Source
from the content-addressed store, hash-verified
206
207
/// Number of registered commands.
208
pub fn len(&self) -> usize {
209
self.commands.len()
210
}
211
212
/// Whether the registry is empty.
213
pub fn is_empty(&self) -> bool {
Callers
1
test_custom_command
Function · 0.45
Calls
no outgoing calls
Tested by
1
test_custom_command
Function · 0.36