MCPcopy 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

4import { assertPath } from "./assert_path.ts";
5
6export function assertArg(path: string) {
7 assertPath(path);
8 if (path.length === 0) return ".";
9}

Callers

nothing calls this directly

Calls 1

assertPathFunction · 0.90

Tested by

no test coverage detected