logFile returns the log file name in the given directory for the current fake time.
(dir string)
| 731 | // logFile returns the log file name in the given directory for the current fake |
| 732 | // time. |
| 733 | func logFile(dir string) string { |
| 734 | return filepath.Join(dir, "foobar.log") |
| 735 | } |
| 736 | |
| 737 | func backupFile(dir string) string { |
| 738 | return filepath.Join(dir, "foobar-"+fakeTime().UTC().Format(backupTimeFormat)+".log") |
no outgoing calls
no test coverage detected
searching dependent graphs…