Versions in this module Expand all Collapse all v0 v0.0.3 Aug 10, 2024 Changes in this version + func NewCachingHandler(h nfs.Handler, limit int) nfs.Handler + func NewCachingHandlerWithVerifierLimit(h nfs.Handler, limit int, verifierLimit int) nfs.Handler + func NewNullAuthHandler(fs billy.Filesystem) nfs.Handler + type CachingHandler struct + func (c *CachingHandler) DataForVerifier(path string, id uint64) []fs.FileInfo + func (c *CachingHandler) FromHandle(fh []byte) (billy.Filesystem, []string, error) + func (c *CachingHandler) HandleLimit() int + func (c *CachingHandler) InvalidateHandle(fs billy.Filesystem, handle []byte) error + func (c *CachingHandler) ToHandle(f billy.Filesystem, path []string) []byte + func (c *CachingHandler) VerifierFor(path string, contents []fs.FileInfo) uint64 + type NullAuthHandler struct + func (c *NullAuthHandler) InvalidateHandle(billy.Filesystem, []byte) error + func (h *NullAuthHandler) Change(fs billy.Filesystem) billy.Change + func (h *NullAuthHandler) FSStat(ctx context.Context, f billy.Filesystem, s *nfs.FSStat) error + func (h *NullAuthHandler) FromHandle([]byte) (billy.Filesystem, []string, error) + func (h *NullAuthHandler) HandleLimit() int + func (h *NullAuthHandler) Mount(ctx context.Context, conn net.Conn, req nfs.MountRequest) (status nfs.MountStatus, hndl billy.Filesystem, auths []nfs.AuthFlavor) + func (h *NullAuthHandler) ToHandle(f billy.Filesystem, s []string) []byte