package
0.31.0
Repository: https://go.googlesource.com/tools
Documentation: pkg.go.dev

# Packages

Package gatefs provides an implementation of the FileSystem interface that wraps another FileSystem and limits its concurrency.
Package httpfs implements http.FileSystem using a godoc vfs.FileSystem.
Package mapfs file provides an implementation of the FileSystem interface based on the contents of a map[string]string.
Package zipfs file provides an implementation of the FileSystem interface based on the contents of a .zip file.

# Functions

FromFS converts an fs.FS to the FileSystem interface.
NewNameSpace returns a NameSpace pre-initialized with an empty emulated directory mounted on the root mount point "/".
OS returns an implementation of FileSystem reading from the tree rooted at root.
ReadFile reads the file named by path from fs and returns the contents.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

GOROOT is the GOROOT path under which the godoc binary is running.

# Interfaces

The FileSystem interface specifies the methods godoc is using to access the file system for which it serves documentation.
Opener is a minimal virtual filesystem that can only open regular files.
A ReadSeekCloser can Read, Seek, and Close.

# Type aliases

No description provided by the author
A NameSpace is a file system made up of other file systems mounted at specific locations in the name space.
RootType indicates the type of files contained within a directory.