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

Method push

src/folder.rs:112–121  ·  view source on GitHub ↗
(&mut self, kind: FileKind, fi: FileInfo)

Source from the content-addressed store, hash-verified

110 }
111
112 pub fn push(&mut self, kind: FileKind, fi: FileInfo) {
113 self.logical_size += fi.logical_size;
114 self.physical_size += fi.physical_size;
115
116 match kind {
117 FileKind::Compressible => self.compressible.push(fi),
118 FileKind::Compressed => self.compressed.push(fi),
119 FileKind::Skipped => self.skipped.push(fi),
120 };
121 }
122}
123
124impl GroupInfo {

Callers 8

detect_compressionFunction · 0.80
runMethod · 0.80
compress_loopMethod · 0.80
uncompress_loopMethod · 0.80
IFunction · 0.80
waFunction · 0.80
app.jsFile · 0.80
insertMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected