MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / isFullyCovered

Method isFullyCovered

daemon/src/entity/file_writer.ts:181–187  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

179 }
180
181 private isFullyCovered(): boolean {
182 return (
183 this.received.length === 1 &&
184 this.received[0].start === 0 &&
185 this.received[0].end === this.size
186 );
187 }
188
189 private readStreamToHash(
190 filePath: string,

Callers 1

writeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected