Documentation
¶
Index ¶
- Constants
- type DirEntry
- func (d *DirEntry) Attrs() []object.AttrSpec
- func (d *DirEntry) Equals(other object.Object) bool
- func (d *DirEntry) GetAttr(name string) (object.Object, bool)
- func (d *DirEntry) Inspect() string
- func (d *DirEntry) Interface() any
- func (d *DirEntry) IsTruthy() bool
- func (d *DirEntry) MarshalJSON() ([]byte, error)
- func (d *DirEntry) RunOperation(opType op.BinaryOpType, right object.Object) (object.Object, error)
- func (d *DirEntry) SetAttr(name string, value object.Object) error
- func (d *DirEntry) String() string
- func (d *DirEntry) Type() object.Type
- func (d *DirEntry) Value() ren.DirEntry
- type File
- func (f *File) Attrs() []object.AttrSpec
- func (f *File) Equals(other object.Object) bool
- func (f *File) GetAttr(name string) (object.Object, bool)
- func (f *File) Inspect() string
- func (f *File) Interface() any
- func (f *File) IsTruthy() bool
- func (f *File) MarshalJSON() ([]byte, error)
- func (f *File) RunOperation(opType op.BinaryOpType, right object.Object) (object.Object, error)
- func (f *File) SetAttr(name string, value object.Object) error
- func (f *File) String() string
- func (f *File) Type() object.Type
- func (f *File) Value() ren.File
- type FileInfo
- func (f *FileInfo) Attrs() []object.AttrSpec
- func (f *FileInfo) Equals(other object.Object) bool
- func (f *FileInfo) GetAttr(name string) (object.Object, bool)
- func (f *FileInfo) Inspect() string
- func (f *FileInfo) Interface() any
- func (f *FileInfo) IsTruthy() bool
- func (f *FileInfo) MarshalJSON() ([]byte, error)
- func (f *FileInfo) RunOperation(opType op.BinaryOpType, right object.Object) (object.Object, error)
- func (f *FileInfo) SetAttr(name string, value object.Object) error
- func (f *FileInfo) String() string
- func (f *FileInfo) Type() object.Type
- func (f *FileInfo) Value() ren.FileInfo
- type FileMode
- func (m *FileMode) Attrs() []object.AttrSpec
- func (m *FileMode) Compare(other object.Object) (int, error)
- func (m *FileMode) Equals(other object.Object) bool
- func (m *FileMode) GetAttr(name string) (object.Object, bool)
- func (m *FileMode) Inspect() string
- func (m *FileMode) Interface() any
- func (m *FileMode) IsTruthy() bool
- func (m *FileMode) MarshalJSON() ([]byte, error)
- func (m *FileMode) RunOperation(opType op.BinaryOpType, right object.Object) (object.Object, error)
- func (m *FileMode) SetAttr(name string, value object.Object) error
- func (m *FileMode) String() string
- func (m *FileMode) Type() object.Type
- func (m *FileMode) Value() ren.FileMode
Constants ¶
View Source
const DIRENTRY = "dir_entry"
View Source
const FILE = "file"
View Source
const FILEINFO = "file_info"
View Source
const FILEMODE = "file_mode"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DirEntry ¶
type DirEntry struct {
// contains filtered or unexported fields
}
func NewDirEntry ¶
func (*DirEntry) MarshalJSON ¶
func (*DirEntry) RunOperation ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
func (*File) MarshalJSON ¶
func (*File) RunOperation ¶
type FileInfo ¶
type FileInfo struct {
// contains filtered or unexported fields
}
func NewFileInfo ¶
func (*FileInfo) MarshalJSON ¶
func (*FileInfo) RunOperation ¶
type FileMode ¶
type FileMode struct {
// contains filtered or unexported fields
}
func NewFileMode ¶
func (*FileMode) MarshalJSON ¶
func (*FileMode) RunOperation ¶
Click to show internal directories.
Click to hide internal directories.