MCPcopy
hub / github.com/facebook/docusaurus / isWindows

Function isWindows

packages/docusaurus-utils/src/pathUtils.ts:19–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17
18const isMacOs = () => process.platform === 'darwin';
19const isWindows = () => process.platform === 'win32';
20
21export const isNameTooLong = (str: string): boolean =>
22 // Not entirely correct: we can't assume FS from OS. But good enough?

Callers 2

isNameTooLongFunction · 0.85
shortNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…