MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / splitNull

Function splitNull

apps/kimi-code/src/feedback/codebase/scanner.ts:208–213  ·  view source on GitHub ↗
(buffer: Buffer)

Source from the content-addressed store, hash-verified

206}
207
208function splitNull(buffer: Buffer): string[] {
209 return buffer
210 .toString('utf8')
211 .split('\0')
212 .filter((item) => item.length > 0);
213}
214
215function toPosixPath(value: string): string {
216 return value.split('\\').join('/');

Callers 1

scanWithGitFunction · 0.85

Calls 1

toStringMethod · 0.65

Tested by

no test coverage detected