Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

utils: add Walk function to walk over a filesystem #17

Merged
merged 3 commits into from Aug 4, 2021

Commits on Jun 3, 2021

  1. utils: add Walk function to walk over a filesystem

    Adapted from the official filepath.Walk, this function allows to walk
    trough a whole filesystem and discover all its files
    tjamet committed Jun 3, 2021
    Copy the full SHA
    999b447 View commit details
    Browse the repository at this point in the history
  2. utils: Walk, minor style changes

    mcuadros authored and tjamet committed Jun 3, 2021
    Copy the full SHA
    e0768be View commit details
    Browse the repository at this point in the history
  3. utils: Walk, use os.FileInfo

    fs.FileInfo has been introduced in go 1.16.5:
    golang/go@d4da735#diff-46ea5b4a04796237678b36cd31d68f74209c90d604123f15dcc4bcb605dbc136
    
    go-billy supports the 2 latest versions
    The latest version of go is currently 1.16, hence use the previous
    instance in os instead
    tjamet committed Jun 3, 2021
    Copy the full SHA
    213e20d View commit details
    Browse the repository at this point in the history