Documentation ¶
Index ¶
- func DisableTestMode()
- func EnableTestMode()
- type Attribute
- func (a Attribute) Get(path string) ([]byte, error)
- func (a Attribute) GetByFid(mnt fs.RootDir, fid *lustre.Fid) ([]byte, error)
- func (a Attribute) Set(p string, fileID []byte) error
- func (a Attribute) String() string
- func (a Attribute) Update(p string, fileID []byte) error
- func (a Attribute) UpdateByFid(mnt fs.RootDir, fid *lustre.Fid, fileID []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnableTestMode ¶
func EnableTestMode()
EnableTestMode swaps out the real implementation for a test-friendly mock.
Types ¶
type Attribute ¶
type Attribute struct {
// contains filtered or unexported fields
}
Attribute is an interface for managing exctended attributes.
var UUID, Hash, URL Attribute
Click to show internal directories.
Click to hide internal directories.