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

Method Open

context/fs.go:54–60  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

52}
53
54func (f *httpFS) Open(name string) (fs.File, error) {
55 if name == "." {
56 name = "/"
57 }
58
59 return f.fs.Open(filepath.ToSlash(name))
60}
61
62func (f *httpFS) ReadDir(name string) ([]fs.DirEntry, error) {
63 name = filepath.ToSlash(name)

Callers

nothing calls this directly

Calls 1

OpenMethod · 0.45

Tested by

no test coverage detected