MCPcopy Create free account
hub / github.com/11ty/webc / setInputPath

Method setInputPath

webc.js:35–39  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

33 }
34
35 setInputPath(file) {
36 file = Path.normalizePath(file);
37 this.filePath = file;
38 this.astOptions.filePath = file;
39 }
40
41 setContent(input, filePath) {
42 this.rawInput = input;

Callers 15

constructorMethod · 0.95
testGetResultForFunction · 0.95
testGetResultForFunction · 0.95
testGetResultForFunction · 0.95
issue-91-test.jsFile · 0.80
issue-154-test.jsFile · 0.80
streamTest.jsFile · 0.80
issue-115-test.jsFile · 0.80
looping-test.jsFile · 0.80
issue-98-test.jsFile · 0.80

Calls 1

normalizePathMethod · 0.80

Tested by

no test coverage detected