Versions in this module Expand all Collapse all v1 v1.0.0 Oct 1, 2024 Changes in this version + type MCFile struct + func (f *MCFile) Close() error + func (f *MCFile) ContentType(ctx context.Context) (string, error) + func (f *MCFile) Readdir(_ int) ([]fs.FileInfo, error) + func (f *MCFile) Stat() (fs.FileInfo, error) + func (f *MCFile) Write(p []byte) (n int, err error) + type UserFS struct + func NewUserFS(opts *UserFSOpts) *UserFS + func (fs *UserFS) Mkdir(ctx context.Context, path string, perm os.FileMode) error + func (fs *UserFS) OpenFile(ctx context.Context, path string, flags int, perm os.FileMode) (webdav.File, error) + func (fs *UserFS) RemoveAll(ctx context.Context, name string) error + func (fs *UserFS) Rename(ctx context.Context, oldName, newName string) error + func (fs *UserFS) ResetState() + func (fs *UserFS) Stat(ctx context.Context, path string) (os.FileInfo, error) + type UserFSOpts struct + ConversionStor stor.ConversionStor + FileStor stor.FileStor + MCFSRoot string + ProjectStor stor.ProjectStor + User *mcmodel.User