Documentation
¶
Index ¶
- Constants
- func CreateComponentDirs(repo_path, repo_name string) error
- func CreateFileContent(path string, content []byte, perm uint32) error
- func DirExists(path string) bool
- func ExitWithError(format string, args ...interface{})
- func GetFileContent(path string) ([]byte, error)
- func MkDirAll(path string, perm os.FileMode) error
- func Open(path string) (*os.File, error)
- func PathExists(path string) bool
Constants ¶
View Source
const ( DefaultRepoDirPerm = 0755 ModelSubPath = "saved_models" OutSubPath = "out" DataSubPath = "dataset" IgnoreFileName = ".hfignore" ListSeparator = "\n" )
View Source
const (
DefaultFilePerm = 0644
)
Variables ¶
This section is empty.
Functions ¶
func CreateComponentDirs ¶
func ExitWithError ¶
func ExitWithError(format string, args ...interface{})
func GetFileContent ¶
func PathExists ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.