Documentation ¶
Index ¶
- Variables
- type AssetPath
- func (p *AssetPath) Base() string
- func (p *AssetPath) CreateFile(ctx context.Context, data io.ReadSeeker, acl vfs.ACL) error
- func (p *AssetPath) Join(relativePath ...string) vfs.Path
- func (p *AssetPath) Path() string
- func (p *AssetPath) ReadDir() ([]vfs.Path, error)
- func (p *AssetPath) ReadFile(ctx context.Context) ([]byte, error)
- func (p *AssetPath) ReadTree() ([]vfs.Path, error)
- func (p *AssetPath) Remove() error
- func (p *AssetPath) RemoveAll() error
- func (p *AssetPath) RemoveAllVersions() error
- func (p *AssetPath) String() string
- func (p *AssetPath) WriteFile(ctx context.Context, data io.ReadSeeker, acl vfs.ACL) error
- func (p *AssetPath) WriteTo(out io.Writer) (int64, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ReadOnlyError = errors.New("AssetPath is read-only")
Functions ¶
This section is empty.
Types ¶
type AssetPath ¶
type AssetPath struct {
// contains filtered or unexported fields
}
func NewAssetPath ¶
func (*AssetPath) CreateFile ¶
func (*AssetPath) RemoveAllVersions ¶ added in v1.16.3
Click to show internal directories.
Click to hide internal directories.