MCPcopy Index your code
hub / github.com/Kong/insomnia / _assertFile

Method _assertFile

packages/insomnia/src/sync/git/mem-client.ts:417–421  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

415 }
416
417 _assertFile(filePath: string) {
418 const entry = this._assertExists(filePath);
419
420 return this._assertFileEntry(entry);
421 }
422
423 _remove(entry: FSEntry) {
424 const parentEntry = this._assertDir(path.dirname(entry.path));

Callers 2

readFileMethod · 0.95
unlinkMethod · 0.95

Calls 2

_assertExistsMethod · 0.95
_assertFileEntryMethod · 0.95

Tested by

no test coverage detected