MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / argc

Method argc

nodedb/src/control/server/resp/command.rs:60–62  ·  view source on GitHub ↗

Number of arguments (excluding the command name).

(&self)

Source from the content-addressed store, hash-verified

58
59 /// Number of arguments (excluding the command name).
60 pub fn argc(&self) -> usize {
61 self.args.len()
62 }
63}
64
65#[cfg(test)]

Callers 15

handle_setFunction · 0.80
handle_delFunction · 0.80
handle_existsFunction · 0.80
handle_mgetFunction · 0.80
handle_msetFunction · 0.80
handle_incrbyFunction · 0.80
handle_decrbyFunction · 0.80
handle_incrbyfloatFunction · 0.80
handle_getsetFunction · 0.80
handle_authFunction · 0.80
handle_expireFunction · 0.80
handle_scanFunction · 0.80

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected