Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
writeFile
Method · 0.95
readdir
Method · 0.95
mkdir
Method · 0.95
rmdir
Method · 0.95
symlink
Method · 0.95
_remove
Method · 0.95
Calls
2
_assertExists
Method · 0.95
_assertDirEntry
Method · 0.95
Tested by
no test coverage detected