Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Discovery ¶
type FakeDiscover ¶
type FakeDiscover struct { Content string `json:"content"` Dir string `json:"dir"` Filename string `json:"filename"` FullPath string `json:"fullPath"` }
func (FakeDiscover) GetDir ¶
func (fd FakeDiscover) GetDir() string
func (FakeDiscover) GetFilename ¶
func (fd FakeDiscover) GetFilename() string
func (FakeDiscover) GetFullPath ¶
func (fd FakeDiscover) GetFullPath() string
func (FakeDiscover) Load ¶
func (fd FakeDiscover) Load() ([]byte, error)
func (FakeDiscover) String ¶
func (fd FakeDiscover) String() string
type FileDiscovery ¶
type FileDiscovery interface {
Find(dir string, pattern string, shallow bool) ([]Discovery, error)
}
func NewFakeFileDiscovery ¶
func NewFakeFileDiscovery(fds []FakeDiscover) FileDiscovery
func NewFileDiscovery ¶
func NewFileDiscovery() FileDiscovery
Click to show internal directories.
Click to hide internal directories.