Documentation ¶
Index ¶
- type FileInfo
- func (i *FileInfo) Del(key string)
- func (i *FileInfo) Get(key string) (Item, bool)
- func (i *FileInfo) Keys() []string
- func (i *FileInfo) KeysByOrder() []string
- func (i *FileInfo) OrderedContent(delimiter string) string
- func (i *FileInfo) Set(key string, ic Item)
- func (i *FileInfo) Values() []Item
- func (i *FileInfo) ValuesByOrdered() []Item
- type Item
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileInfo ¶
type FileInfo struct { os.FileInfo FullPath string Meta *cached.Map[string, Item] Cache map[string][]byte }
func NewFileInfo ¶
func NewFileInfoWithOption ¶
func (*FileInfo) KeysByOrder ¶
KeysByOrder return Keys(ordered by No, ascending)
func (*FileInfo) OrderedContent ¶
func (*FileInfo) ValuesByOrdered ¶
ValuesByOrdered return all content (ordered by No, ascending)
type Option ¶
func WithAbsPath ¶
func WithFileInfo ¶
Click to show internal directories.
Click to hide internal directories.