Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilePresence ¶
func FileAbsent ¶
func FileAbsent() FilePresence
func FilePresent ¶
func FilePresent(filePath string) FilePresence
func FindFileBetween ¶
func FindFileBetween(fileName string, fromFolder string, backToFolder string) (FilePresence, error)
FindFileBetween try to find a suitable file that should exist inside the
type Folder ¶
type Folder struct {
Path string
}
func (*Folder) ContainsFile ¶
ContainsFile return a boolean telling if the given filename exist in the folder or an error if it is impossible to infer if the file exist or not.
func (*Folder) NavigateToParent ¶
NavigateToParent update the current Folder one path above ("..") it then returns the new path of the folder, as a string
Click to show internal directories.
Click to hide internal directories.