Round all durations to microseconds

This commit is contained in:
Seednode 2024-01-11 03:36:16 -06:00
parent e3e6aca2fa
commit 4e85621335
3 changed files with 4 additions and 4 deletions

View File

@ -438,7 +438,7 @@ func scanPaths(paths []string, sort string, index *fileIndex, formats types.Type
filesMatched+filesSkipped,
directoriesMatched,
directoriesMatched+directoriesSkipped,
time.Since(startTime),
time.Since(startTime).Round(time.Microsecond),
)
}

View File

@ -175,7 +175,7 @@ func (index *fileIndex) Export(path string) error {
length,
path,
humanReadableSize(int(stats.Size())),
time.Since(startTime),
time.Since(startTime).Round(time.Microsecond),
)
}
@ -220,7 +220,7 @@ func (index *fileIndex) Import(path string) error {
length,
path,
humanReadableSize(int(stats.Size())),
time.Since(startTime),
time.Since(startTime).Round(time.Microsecond),
)
}

View File

@ -18,7 +18,7 @@ import (
const (
AllowedCharacters string = `^[A-z0-9.\-_]+$`
ReleaseVersion string = "5.1.0"
ReleaseVersion string = "5.2.0"
)
var (