Documentation ¶
Index ¶
- func CheckFileExist(path string) error
- func GetAbsolutelyPath(file string) (absPath string, err error)
- func GetAbsolutelyPathWithBasePath(file string, relative string) (absPath string, err error)
- func GetFileContent(file *definition.FileIdentifer) (string, error)
- func GetFileExistingStatus(file *definition.FileIdentifer) error
- func GetFileIdentifer(file string) (*definition.FileIdentifer, error)
- func ReadFile(path string) ([]byte, error)
- func WriteFile(path string, content string) error
- func WriteFileContent(file *definition.FileIdentifer, content string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAbsolutelyPath ¶
GetAbsolutelyPath returns unwarpped error
func GetAbsolutelyPathWithBasePath ¶
GetAbsolutelyPathWithBasePath returns unwarpped error
func GetFileContent ¶
func GetFileContent(file *definition.FileIdentifer) (string, error)
func GetFileExistingStatus ¶
func GetFileExistingStatus(file *definition.FileIdentifer) error
func GetFileIdentifer ¶
func GetFileIdentifer(file string) (*definition.FileIdentifer, error)
func WriteFileContent ¶
func WriteFileContent(file *definition.FileIdentifer, content string) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.