Documentation ¶
Index ¶
- Variables
- func FSPaths(ups []UPath) []string
- type Import
- type NewMaker
- type UPath
- func (up UPath) FSPath() string
- func (up UPath) IsZero() bool
- func (up UPath) Join(names ...string) (UPath, error)
- func (up *UPath) MarshalText() ([]byte, error)
- func (up UPath) MustJoin(names ...string) UPath
- func (up UPath) Open(fsys fs.FS) (fs.File, error)
- func (up UPath) ReadDir(fsys fs.FS) ([]fs.DirEntry, error)
- func (up UPath) ReadFile(fsys fs.FS) ([]byte, error)
- func (up UPath) Stat(fsys fs.FS) (fs.FileInfo, error)
- func (up UPath) String() string
- func (up UPath) Sub(fsys fs.FS) (fs.FS, error)
- func (up *UPath) UnmarshalTOML(decode func(interface{}) error) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Zero = UPath{/* contains filtered or unexported fields */}
Functions ¶
Types ¶
type Import ¶
func (*Import[T]) UnmarshalTOML ¶
type UPath ¶
type UPath struct {
// contains filtered or unexported fields
}
func MustNewByOS ¶
func (*UPath) MarshalText ¶
func (*UPath) UnmarshalTOML ¶
Click to show internal directories.
Click to hide internal directories.