MCPcopy Create free account
hub / github.com/kataras/iris / getFS

Function getFS

view/fs.go:62–64  ·  view source on GitHub ↗
(fsOrDir interface{})

Source from the content-addressed store, hash-verified

60}
61
62func getFS(fsOrDir interface{}) fs.FS {
63 return context.ResolveFS(fsOrDir)
64}
65
66func getRootDirName(fileSystem fs.FS) string {
67 rootDirFile, err := fileSystem.Open(".")

Callers 5

JetFunction · 0.85
HTMLFunction · 0.85
FSMethod · 0.85
HandlebarsFunction · 0.85
DjangoFunction · 0.85

Calls 1

ResolveFSMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…