MCPcopy
hub / github.com/livebud/bud / Path

Method Path

framework/transform/transformrt/transform.go:21–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19}
20
21func (f *File) Path() string {
22 base := strings.TrimSuffix(f.path, filepath.Ext(f.path))
23 return base + f.ext
24}
25
26// Platform we're transforming to.
27type Platform int

Callers 15

TestGeneratorsFunction · 0.45
TestUpdateGeneratorFunction · 0.45
TestDeleteGeneratorFunction · 0.45
TestChangeGeneratorFunction · 0.45
TestPkgGeneratorFunction · 0.45
TestCmdGeneratorFunction · 0.45
TestGeneratorServerFunction · 0.45
TestSvelteToSvelteFunction · 0.45
TestSvelteToSvelteToJSXFunction · 0.45
TestFaviconToFaviconFunction · 0.45
TestMdToSsrJsAndDomJsFunction · 0.45
DefaultFunction · 0.45

Calls 1

ExtMethod · 0.45

Tested by 14

TestGeneratorsFunction · 0.36
TestUpdateGeneratorFunction · 0.36
TestDeleteGeneratorFunction · 0.36
TestChangeGeneratorFunction · 0.36
TestPkgGeneratorFunction · 0.36
TestCmdGeneratorFunction · 0.36
TestGeneratorServerFunction · 0.36
TestSvelteToSvelteFunction · 0.36
TestSvelteToSvelteToJSXFunction · 0.36
TestFaviconToFaviconFunction · 0.36
TestMdToSsrJsAndDomJsFunction · 0.36
TestTransformFunction · 0.36