MCPcopy Create free account
hub / github.com/esengine/esengine / len

Method len

packages/engine-shared/src/types/handle.rs:324–326  ·  view source on GitHub ↗

获取当前资源数量 Get current resource count.

(&self)

Source from the content-addressed store, hash-verified

322 ///
323 /// Get current resource count.
324 pub fn len(&self) -> usize {
325 self.items.len() - self.free_list.len()
326 }
327
328 /// 是否为空
329 ///

Callers 11

bundle_scriptsFunction · 0.45
get_file_sizeFunction · 0.45
calculate_dir_sizeFunction · 0.45
parse_esbuild_errorsFunction · 0.45
list_directoryFunction · 0.45
insertMethod · 0.45
is_emptyMethod · 0.45
sprite_countMethod · 0.45
validateMethod · 0.45
add_sprites_soaMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected