| 1 |
Source: golang-github-saracen-walker |
| 2 |
Maintainer: Debian Go Packaging Team <[email protected]> |
| 3 |
Uploaders: Jai Flack <[email protected]> |
| 4 |
Section: devel |
| 5 |
Testsuite: autopkgtest-pkg-go |
| 6 |
Priority: optional |
| 7 |
Build-Depends: debhelper-compat (= 13), |
| 8 |
dh-golang, |
| 9 |
golang-any, |
| 10 |
golang-golang-x-sync-dev |
| 11 |
Standards-Version: 4.5.0 |
| 12 |
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-saracen-walker |
| 13 |
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-saracen-walker.git |
| 14 |
Homepage: https://github.com/saracen/walker |
| 15 |
Rules-Requires-Root: no |
| 16 |
XS-Go-Import-Path: github.com/saracen/walker |
| 17 |
|
| 18 |
Package: golang-github-saracen-walker-dev |
| 19 |
Architecture: all |
| 20 |
Depends: golang-golang-x-sync-dev, |
| 21 |
${misc:Depends} |
| 22 |
Description: walker is a faster, parallel version, of filepath.Walk |
| 23 |
This library and filepath.Walk both perform os.Lstat calls and provide a full |
| 24 |
os.FileInfo structure to the callback. BenchmarkFastwalkWalkLstat and |
| 25 |
BenchmarkGodirwalkWalkLstat include this stat call for better comparison with |
| 26 |
BenchmarkFilepathWalk and BenchmarkWalkerWalk. |
| 27 |
. |
| 28 |
This library and fastwalk both require the callback to be safe for concurrent |
| 29 |
use. BenchmarkFilepathWalkAppend, BenchmarkWalkerWalkAppend, |
| 30 |
BenchmarkFastwalkWalkAppend and BenchmarkGodirwalkWalkAppend append the paths |
| 31 |
found to a string slice. The callback, for the libraries that require it, use a |
| 32 |
mutex, for better comparison with the libraries that require no locking. |
| 33 |
. |
| 34 |
This library will not always be the best/fastest option. In general, if you're |
| 35 |
on Windows, or performing lstat calls, it does a pretty decent job. If you're |
| 36 |
not, I've found fastwalk to perform better on machines with fewer cores. |