Documentation
¶
Index ¶
- type FS
- func (m *FS) Abs(r path.Relative) path.Absolute
- func (m *FS) Delete(p path.Relative, recursive bool) error
- func (m *FS) Drive(path.Relative) (path.Local, error)
- func (t *FS) Exists(p path.Relative) bool
- func (d *FS) FreeSpace(p path.Relative) int64
- func (m *FS) GetMeta(name path.Relative) (map[string][]byte, error)
- func (d *FS) GetMode(name path.Relative) (fs.FileMode, error)
- func (fsys *FS) Glob(pattern string) (matches []path.Relative, err error)
- func (m *FS) HasAllDirs(p path.Relative) bool
- func (f *FS) HostName() string
- func (m *FS) Mkdirall(p path.Relative) error
- func (m *FS) ModTime(p path.Relative) (t time.Time, err error)
- func (m *FS) Move(src path.Relative, targetFolder path.Relative) error
- func (f *FS) Password() string
- func (f *FS) Port() int
- func (t *FS) ReadFrom(fsys fs.FS, p path.Relative) error
- func (m *FS) Reader(p path.Relative) (io.ReadCloser, error)
- func (m *FS) Rename(p path.Relative, name string) error
- func (f *FS) Scheme() string
- func (m *FS) SetMeta(name path.Relative, meta map[string][]byte) error
- func (d *FS) SetMode(name path.Relative, m fs.FileMode) error
- func (d *FS) Size(name path.Relative) int64
- func (f *FS) UserName() string
- func (fsys *FS) Walk(root path.Relative, fn fs.WalkFunc) error
- func (m *FS) Write(p path.Relative, rd io.ReadCloser, recursive bool) (err error)
- func (t *FS) WriteTo(fsys fs.FS) error
- func (m *FS) WriteWithMeta(p path.Relative, rd io.ReadCloser, meta map[string][]byte, recursive bool) error
- func (m *FS) WriteWithMode(p path.Relative, rd io.ReadCloser, perm fs.FileMode, recursive bool) (err error)
- type File
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FS ¶
type FS struct { Base path.Local URL *url.URL Files map[path.Relative]*File MaxSize int64 UsedBytes int64 }
das könnte man zum kopieren bzw. synchronisieren nehmen
func (*FS) WriteWithMeta ¶
Click to show internal directories.
Click to hide internal directories.