MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / startFile

Function startFile

switch/source/transferstatus.cpp:80–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 }
79
80 void startFile(const std::string& name, u64 size)
81 {
82 std::lock_guard<std::mutex> lock(sMutex);
83 sState.currentFile = name;
84 sState.currentFileSize = size;
85 sState.currentFileOffset = 0;
86 }
87
88 void setFileOffset(u64 offset)
89 {

Callers 1

startFileMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected