MCPcopy
hub / github.com/NVIDIA/aistore / buildFileNamePrefix

Function buildFileNamePrefix

cmd/aisfs/util.go:138–140  ·  view source on GitHub ↗

LOGGING

(bucket string)

Source from the content-addressed store, hash-verified

136///////////
137
138func buildFileNamePrefix(bucket string) string {
139 return fmt.Sprintf("%s.%s.%s.*.ERROR.log", appName, bucket, time.Now().Format(timeStrFormat))
140}
141
142func updateSymlink(symlink, target string) (err error) {
143 if _, err = os.Lstat(symlink); err == nil { // symlink already exists

Callers 1

prepareLogFileTmpDirFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected