Documentation ¶
Index ¶
- func CreateDirectory(path string) bool
- func CreateFile(filePath string) (success bool, err error)
- func DirectoryExists(path string) bool
- func FileExists(path string) bool
- func GetLines(inFile io.Reader) []string
- func GetModificationTime(path string) (time.Time, error)
- func GetSubDirectories(path string) []string
- func GetTempDirectory() string
- func GetWorkingDirectory() string
- func IsDirectory(path string) (bool, error)
- func IsFile(path string) (bool, error)
- func OpenFile(filepath string) (*os.File, error)
- func PathExists(path string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDirectory ¶
func CreateFile ¶
func DirectoryExists ¶
func FileExists ¶
func GetSubDirectories ¶
func GetTempDirectory ¶
func GetTempDirectory() string
GetTempDirectory returns the path to a new temparory directory.
func GetWorkingDirectory ¶
func GetWorkingDirectory() string
Gets the current working directory in which this application is being executed.
func IsDirectory ¶
func PathExists ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.