MCPcopy Create free account
hub / github.com/Freaky/Compactor / len

Method len

src/folder.rs:87–93  ·  view source on GitHub ↗
(&mut self, kind: FileKind)

Source from the content-addressed store, hash-verified

85 }
86
87 pub fn len(&mut self, kind: FileKind) -> usize {
88 match kind {
89 FileKind::Compressible => self.compressible.files.len(),
90 FileKind::Compressed => self.compressed.files.len(),
91 FileKind::Skipped => self.skipped.files.len(),
92 }
93 }
94
95 pub fn pop(&mut self, kind: FileKind) -> Option<FileInfo> {
96 let ret = match kind {

Callers 7

compress_file_handleFunction · 0.80
summaryMethod · 0.80
runMethod · 0.80
handle_fileFunction · 0.80
compress_loopMethod · 0.80
uncompress_loopMethod · 0.80
saveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected