MCPcopy
hub / github.com/Kong/insomnia / _assertDir

Method _assertDir

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

Source from the content-addressed store, hash-verified

358 }
359
360 _assertDir(filePath: string) {
361 const entry = this._assertExists(filePath);
362
363 return this._assertDirEntry(entry);
364 }
365
366 _assertSymlinkEntry(entry: FSEntry) {
367 if (entry.type !== 'symlink') {

Callers 6

writeFileMethod · 0.95
readdirMethod · 0.95
mkdirMethod · 0.95
rmdirMethod · 0.95
symlinkMethod · 0.95
_removeMethod · 0.95

Calls 2

_assertExistsMethod · 0.95
_assertDirEntryMethod · 0.95

Tested by

no test coverage detected