Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RestoreDirectoryFunc ¶
type RestoreDirectoryFunc func()
func ChangeDirectory ¶
func ChangeDirectory(dir string) (string, RestoreDirectoryFunc, error)
ChangeDirectory returns the current directory prior to changing and a function that can be used to restore the current directory.
Click to show internal directories.
Click to hide internal directories.