Documentation
¶
Overview ¶
Package vaultfs provides capability-scoped access to files beneath a vault.
Index ¶
- type Root
- func (r *Root) Close() error
- func (r *Root) MkdirAll(name string, perm os.FileMode) error
- func (r *Root) Open(name string) (*os.File, error)
- func (r *Root) ReadFile(name string) ([]byte, error)
- func (r *Root) Remove(name string) error
- func (r *Root) Stat(name string) (os.FileInfo, error)
- func (r *Root) WriteFile(name string, data []byte, perm os.FileMode) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Root ¶
type Root struct {
// contains filtered or unexported fields
}
Root confines filesystem operations to a vault directory. Path containment, including symlink resolution, is enforced by os.Root at the operation.