MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / fromFileImport

Method fromFileImport

packages/core/ui/styling/style-scope.ts:175–179  ·  view source on GitHub ↗
(url: string, importSource: string)

Source from the content-addressed store, hash-verified

173 }
174
175 public static fromFileImport(url: string, importSource: string): CSSSource {
176 const file = CSSSource.resolveCSSPathFromURL(url, importSource);
177
178 return new CSSSource(undefined, url, file, undefined);
179 }
180
181 @profile
182 public static resolveCSSPathFromURL(url: string, importSource?: string): string {

Callers 1

getCssFileFunction · 0.80

Calls 1

resolveCSSPathFromURLMethod · 0.80

Tested by

no test coverage detected