MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / isPathSeparator

Function isPathSeparator

src/platform/vscode-path/path.ts:82–84  ·  view source on GitHub ↗
(code: number | undefined)

Source from the content-addressed store, hash-verified

80}
81
82function isPathSeparator(code: number | undefined) {
83 return code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH;
84}
85
86function isPosixPathSeparator(code: number | undefined) {
87 return code === CHAR_FORWARD_SLASH;

Callers 9

normalizeStringFunction · 0.70
resolveFunction · 0.70
normalizeFunction · 0.70
isAbsoluteFunction · 0.70
joinFunction · 0.70
dirnameFunction · 0.70
basenameFunction · 0.70
extnameFunction · 0.70
parseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected