type os.Root
31 uses
os (current package)
root.go#L62: type Root struct {
root.go#L75: func OpenRoot(name string) (*Root, error) {
root.go#L83: func (r *Root) Name() string {
root.go#L89: func (r *Root) Close() error {
root.go#L95: func (r *Root) Open(name string) (*File, error) {
root.go#L101: func (r *Root) Create(name string) (*File, error) {
root.go#L110: func (r *Root) OpenFile(name string, flag int, perm FileMode) (*File, error) {
root.go#L125: func (r *Root) OpenRoot(name string) (*Root, error) {
root.go#L136: func (r *Root) Mkdir(name string, perm FileMode) error {
root.go#L145: func (r *Root) Remove(name string) error {
root.go#L151: func (r *Root) Stat(name string) (FileInfo, error) {
root.go#L160: func (r *Root) Lstat(name string) (FileInfo, error) {
root.go#L165: func (r *Root) logOpen(name string) {
root.go#L173: func (r *Root) logStat(name string) {
root.go#L246: func (r *Root) FS() fs.FS {
root.go#L250: type rootFS Root
root.go#L253: r := (*Root)(rfs)
root.go#L265: r := (*Root)(rfs)
root.go#L289: r := (*Root)(rfs)
root.go#L302: r := (*Root)(rfs)
root_openat.go#L67: func rootMkdir(r *Root, name string, perm FileMode) error {
root_openat.go#L77: func rootRemove(r *Root, name string) error {
root_openat.go#L95: func doInRoot[T any](r *Root, name string, f func(parent sysfdType, name string) (T, error)) (ret T, err error) {
root_unix.go#L19: func openRootNolog(name string) (*Root, error) {
root_unix.go#L34: func newRoot(fd int, name string) (*Root, error) {
root_unix.go#L51: r := &Root{&root{
root_unix.go#L60: func openRootInRoot(r *Root, name string) (*Root, error) {
root_unix.go#L78: func rootOpenFileNolog(root *Root, name string, flag int, perm FileMode) (*File, error) {
root_unix.go#L116: func rootStat(r *Root, name string, lstat bool) (FileInfo, error) {