Documentation ¶
Index ¶
- func AddPrefixPath(prefix string, path string) string
- func CopyFile(srcName, dstName string) (written int64, err error)
- func CreateFolder(path string) error
- func CreateTemporaryDir() (string, error)
- func GetUniqueIdentifier(namespace string, name string, kind string) string
- func IsDir(path string) bool
- func IsExists(path string) bool
- func IsFile(path string) bool
- func ParsingDatasetIndex(samples []string, prefix string) []string
- func TrimPrefixPath(prefix string, path string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPrefixPath ¶
AddPrefixPath gets path that adds the provided the prefix.
func CreateTemporaryDir ¶ added in v0.2.0
CreateTemporaryDir creates a temporary dir
func GetUniqueIdentifier ¶
GetUniqueIdentifier get unique identifier
func ParsingDatasetIndex ¶ added in v0.2.0
ParsingDatasetIndex parses index file of dataset and adds the prefix to abs url of sample first line is the prefix, the next lines are abs url of sample
func TrimPrefixPath ¶
TrimPrefixPath gets path without the provided leading prefix path. If path doesn't start with prefix, path is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.