Documentation
¶
Index ¶
- Constants
- func FileIDFromString(str string) uint64
- type FileCache
- type FileInfo
- func (f *FileInfo) AsPath(filename string) *FileInfo
- func (f *FileInfo) ContentType(ctx context.Context) (string, error)
- func (f *FileInfo) ETag(ctx context.Context) (string, error)
- func (f *FileInfo) FileID() uint64
- func (f *FileInfo) FullPath() string
- func (f *FileInfo) Gid() uint32
- func (f *FileInfo) IsDir() bool
- func (f *FileInfo) ModTime() time.Time
- func (f *FileInfo) Mode() fs.FileMode
- func (f *FileInfo) NLink() uint32
- func (f *FileInfo) Name() string
- func (f *FileInfo) Open(flag int, perm os.FileMode) (FileLike, error)
- func (f *FileInfo) Size() int64
- func (f *FileInfo) Sys() any
- func (f *FileInfo) Uid() uint32
- type FileInfoList
- type FileLike
- type OpenFn
- type Opener
Constants ¶
View Source
const ( LinkCount = 1 Delimiter = "/" )
Variables ¶
This section is empty.
Functions ¶
func FileIDFromString ¶
Types ¶
type FileCache ¶
type FileCache struct {
// contains filtered or unexported fields
}
func NewFileCache ¶
type FileInfo ¶
type FileInfo struct {
// contains filtered or unexported fields
}
func ImmutableInfo ¶
func (*FileInfo) ContentType ¶
ContentType implements webdav.ContentTyper
type FileInfoList ¶
type FileInfoList []*FileInfo
func (FileInfoList) Len ¶
func (a FileInfoList) Len() int
func (FileInfoList) Less ¶
func (a FileInfoList) Less(i, j int) bool
func (FileInfoList) Swap ¶
func (a FileInfoList) Swap(i, j int)
func (FileInfoList) ToOSFiles ¶
func (a FileInfoList) ToOSFiles() []os.FileInfo
Click to show internal directories.
Click to hide internal directories.