Documentation ¶
Index ¶
- Variables
- type AssetPath
- func (p *AssetPath) Base() string
- func (p *AssetPath) CreateFile(data []byte) 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() ([]byte, error)
- func (p *AssetPath) ReadTree() ([]vfs.Path, error)
- func (p *AssetPath) Remove() error
- func (p *AssetPath) String() string
- func (p *AssetPath) WriteFile(data []byte) 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 ¶
Click to show internal directories.
Click to hide internal directories.