MCPcopy Create free account
hub / github.com/BYVoid/OpenCC / flush

Function flush

node/cli.js:176–184  ·  view source on GitHub ↗
(callback)

Source from the content-addressed store, hash-verified

174 }
175 },
176 flush(callback) {
177 try {
178 callback(null, pendingChunk === null
179 ? nativeStream.finish()
180 : nativeStream.finish(pendingChunk));
181 } catch (error) {
182 callback(error);
183 }
184 },
185 });
186}
187

Callers 3

FlushStreamsFunction · 0.85
finishMethod · 0.85
insertMethod · 0.85

Calls 2

callbackFunction · 0.85
finishMethod · 0.80

Tested by

no test coverage detected