Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/denoland/std
/ assertArg
Function
assertArg
path/_common/normalize.ts:6–9 ·
view source on GitHub ↗
(path: string)
Source
from the content-addressed store, hash-verified
4
import
{ assertPath } from
"./assert_path.ts"
;
5
6
export
function
assertArg(path: string) {
7
assertPath(path);
8
if
(path.length === 0)
return
"."
;
9
}
Callers
nothing calls this directly
Calls
1
assertPath
Function · 0.90
Tested by
no test coverage detected