MCPcopy
hub / github.com/postcss/postcss / pathOf

Function pathOf

test/css-syntax-error.test.ts:316–318  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

314
315test('works with path in sources', () => {
316 function pathOf(file: string): string {
317 return join(__dirname, file)
318 }
319
320 let concat = new Concat(true, join(__dirname, 'build', 'all.css'))
321 concat.add(pathOf('a.css'), 'a { }\n')

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…