MCPcopy Index your code
hub / github.com/apache/answer / installUploadDir

Function installUploadDir

internal/cli/install.go:68–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66}
67
68func installUploadDir() {
69 fmt.Println("[upload-dir] try to install...")
70 if err := dir.CreateDirIfNotExist(path.UploadFilePath); err != nil {
71 fmt.Printf("[upload-dir] install fail %s\n", err.Error())
72 } else {
73 fmt.Printf("[upload-dir] install success, upload directory is %s\n", path.UploadFilePath)
74 }
75}
76
77func InstallI18nBundle(replace bool) {
78 fmt.Println("[i18n] try to install i18n bundle...")

Callers 1

Calls 1

CreateDirIfNotExistFunction · 0.92

Tested by

no test coverage detected