Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OSFS ¶
type OSFS struct{}
OSFS implements fs.FS using methods on os to read from the system. Note that this implementation is not a compliant fs.FS, as they should only accept posix-style, relative paths, but as this is an internal implementation detail, we get the abstraction we need while being able to handle paths as the os package otherwise would. More context in: https://github.com/golang/go/issues/44279
Click to show internal directories.
Click to hide internal directories.