Documentation ¶
Index ¶
- type Files
- func (m *Files) Data() *sync.Map
- func (m *Files) Delete(key here.Path)
- func (m *Files) Keys() []here.Path
- func (m *Files) Load(key here.Path) (pkging.File, bool)
- func (m *Files) MarshalJSON() ([]byte, error)
- func (m *Files) Range(f func(key here.Path, value pkging.File) bool)
- func (m *Files) Store(key here.Path, value pkging.File)
- func (m *Files) String() string
- func (m *Files) UnmarshalJSON(b []byte) error
- type Infos
- func (m *Infos) Data() *sync.Map
- func (m *Infos) Delete(key string)
- func (m *Infos) Keys() []string
- func (m *Infos) Load(key string) (here.Info, bool)
- func (m *Infos) MarshalJSON() ([]byte, error)
- func (m *Infos) Range(f func(key string, value here.Info) bool)
- func (m *Infos) Store(key string, value here.Info)
- func (m *Infos) UnmarshalJSON(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Files ¶
type Files struct {
// contains filtered or unexported fields
}
Files wraps sync.Map and uses the following types: key: here.Path value: pkging.File
func (*Files) Load ¶
Load the key from the map. Returns pkging.File or bool. A false return indicates either the key was not found or the value is not of type pkging.File
func (*Files) MarshalJSON ¶
func (*Files) UnmarshalJSON ¶
type Infos ¶
type Infos struct {
// contains filtered or unexported fields
}
Infos wraps sync.Map and uses the following types: key: string value: here.Info
func (*Infos) Load ¶
Load the key from the map. Returns here.Info or bool. A false return indicates either the key was not found or the value is not of type here.Info
func (*Infos) MarshalJSON ¶
func (*Infos) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.