Versions in this module Expand all Collapse all v1 v1.0.0 Mar 11, 2024 Changes in this version + func Errorf(errno syscall.Errno, format string, a ...interface{}) error + type BaseFAO struct + type ErrDoesNotExist struct + Path string + func (e *ErrDoesNotExist) Error() string + type ErrNotDirectory struct + Path string + func (e *ErrNotDirectory) Error() string + type FAO interface + Create func(path string, name string) (NodeInfo, error) + MkDir func(path string, name string) (NodeInfo, error) + Move func(source string, parent string, name string) error + Read func(path string, dest []byte, off int64) (int, error) + ReadAll func(path string) (io.ReadCloser, error) + ReadDir func(path string) ([]NodeInfo, error) + Stat func(path string) (NodeInfo, bool, error) + Symlink func(parent string, name string, target string) (NodeInfo, error) + Truncate func(path string, size uint64) error + Unlink func(path string) error + Write func(path string, src []byte, off int64) (int, error) + type FAOError struct + Errno syscall.Errno + From error + func (e *FAOError) Error() string + type NodeInfo struct + DebugName string + type P_CreateProxyFAO struct + Delegate FAO + type ProxyFAO struct + func CreateProxyFAO(params P_CreateProxyFAO) *ProxyFAO + func (p *ProxyFAO) Create(path string, name string) (NodeInfo, error) + func (p *ProxyFAO) MkDir(path string, name string) (NodeInfo, error) + func (p *ProxyFAO) Move(source string, parent string, name string) error + func (p *ProxyFAO) Read(path string, dest []byte, off int64) (int, error) + func (p *ProxyFAO) ReadAll(path string) (io.ReadCloser, error) + func (p *ProxyFAO) ReadDir(path string) ([]NodeInfo, error) + func (p *ProxyFAO) Stat(path string) (NodeInfo, bool, error) + func (p *ProxyFAO) Symlink(parent string, name string, target string) (NodeInfo, error) + func (p *ProxyFAO) Truncate(path string, size uint64) error + func (p *ProxyFAO) Unlink(path string) error + func (p *ProxyFAO) Write(path string, src []byte, off int64) (int, error)