MCPcopy Create free account
hub / github.com/antonk52/cssmodules-language-server / isRelativeFilePath

Function isRelativeFilePath

src/utils.ts:29–31  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

27}
28
29function isRelativeFilePath(str: string): boolean {
30 return str.startsWith('../') || str.startsWith('./');
31}
32
33/**
34 * Returns absolute file path to a file where css modules is from or an empty string

Callers 1

findImportPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected