Round all durations to microseconds
This commit is contained in:
parent
e3e6aca2fa
commit
4e85621335
|
@ -438,7 +438,7 @@ func scanPaths(paths []string, sort string, index *fileIndex, formats types.Type
|
||||||
filesMatched+filesSkipped,
|
filesMatched+filesSkipped,
|
||||||
directoriesMatched,
|
directoriesMatched,
|
||||||
directoriesMatched+directoriesSkipped,
|
directoriesMatched+directoriesSkipped,
|
||||||
time.Since(startTime),
|
time.Since(startTime).Round(time.Microsecond),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -175,7 +175,7 @@ func (index *fileIndex) Export(path string) error {
|
||||||
length,
|
length,
|
||||||
path,
|
path,
|
||||||
humanReadableSize(int(stats.Size())),
|
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,
|
length,
|
||||||
path,
|
path,
|
||||||
humanReadableSize(int(stats.Size())),
|
humanReadableSize(int(stats.Size())),
|
||||||
time.Since(startTime),
|
time.Since(startTime).Round(time.Microsecond),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ import (
|
||||||
|
|
||||||
const (
|
const (
|
||||||
AllowedCharacters string = `^[A-z0-9.\-_]+$`
|
AllowedCharacters string = `^[A-z0-9.\-_]+$`
|
||||||
ReleaseVersion string = "5.1.0"
|
ReleaseVersion string = "5.2.0"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
Loading…
Reference in New Issue