Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deps): update module github.com/charlievieth/fastwalk to v1.0.8 (#…
…108) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/charlievieth/fastwalk](https://redirect.github.com/charlievieth/fastwalk) | `v1.0.3` -> `v1.0.8` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fcharlievieth%2ffastwalk/v1.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fcharlievieth%2ffastwalk/v1.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fcharlievieth%2ffastwalk/v1.0.3/v1.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fcharlievieth%2ffastwalk/v1.0.3/v1.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>charlievieth/fastwalk (github.com/charlievieth/fastwalk)</summary> ### [`v1.0.8`](https://redirect.github.com/charlievieth/fastwalk/releases/tag/v1.0.8): Fix go1.20 build [Compare Source](https://redirect.github.com/charlievieth/fastwalk/compare/v1.0.7...v1.0.8) `v1.0.8` commit [`1fb2d4d`](https://redirect.github.com/charlievieth/fastwalk/commit/1fb2d4d45e03a3c10d445e9e2342fc324591656f) Author: Charlie Vieth <[email protected]> Date: Thu Jul 18 10:00:29 2024 -0400 fix go 1.20 build and retract v1.0.7 This commit fixes the build for Go 1.20 by removing use of the slices package and retracts the v1.0.7 release. It also changes the CI to test go1.20 (our minimum supported version) so that this will not happen again in the future. ### [`v1.0.7`](https://redirect.github.com/charlievieth/fastwalk/releases/tag/v1.0.7): Add optional sorting and automatically detect if forward slashes should be used [Compare Source](https://redirect.github.com/charlievieth/fastwalk/compare/v1.0.6...v1.0.7) `v1.0.7` This release changes the detection for ToSlash on Windows to only check is the `"MSYSTEM"` environment variable is set and removes the detection for Windows Subsystem on Linux (WSL) since it was unreliable (additionally tools like [`fd`](https://redirect.github.com/sharkdp/fd/) do not attempt to detect if running under WSL). It also adds a new feature: the ability to sort directory entries before being processed. This does not make the order that directories and files are visited globally deterministic, but it does significantly improve the output Walk and is useful for tools that print said output. commit [`861d712`](https://redirect.github.com/charlievieth/fastwalk/commit/861d71210c7ddf5ed40eb2909bac7c04da3b3b89) Author: Charlie Vieth <[email protected]> Date: Thu Jul 11 00:39:35 2024 -0400 fastwalk: add optional sorting and improve documentation This commit adds the new SortMode and Config.Sort setting to sort a directory's entries before they are processed. This does not make the global order that directories and entries are visited non-deterministic but it does help make the output a bit saner compared to the default directory order. This was added to make the output of FZF a bit nicer. This commit also improves documentation and comments of exported functions. commit [`875daa3`](https://redirect.github.com/charlievieth/fastwalk/commit/875daa3ca5edf1c2f7e096781c77f828f7ae8899) Author: Charlie Vieth <[email protected]> Date: Tue Jul 16 12:50:55 2024 -0400 fastwalk: only check if MSYSTEM is set during MSYS/MSYS2 This changes the MSYS/MSYS2 detection to only check if the MSYSTEM environment variable is set instead of asserting on its value. This is to support other MSYS environments like UCRT64. It also removes the check for Windows Subsystem for Linux (WSL) since it was unreliable and required us to stat and potentially read a file on initialization (which is bad). See: * charlievieth/fastwalk@87029d9#r144282929 * sharkdp/fd@f875ea9a5 commit [`87029d9`](https://redirect.github.com/charlievieth/fastwalk/commit/87029d9318159fb714bd064bbda22d69a11fa9f2) Author: Charlie Vieth <[email protected]> Date: Wed Jul 3 14:59:17 2024 -0400 fastwalk: add MSYS/MSYS2 detection to DefaultToSlash This change updates DefaultToSlash to also check if we're running in a MSYS/MSYS2 enviroment since they also use forward slashes. ### [`v1.0.6`](https://redirect.github.com/charlievieth/fastwalk/releases/tag/v1.0.6): : fix go1.20 build [Compare Source](https://redirect.github.com/charlievieth/fastwalk/compare/v1.0.5...v1.0.6) `v1.0.6` commit [`3ec5a9e`](https://redirect.github.com/charlievieth/fastwalk/commit/3ec5a9ea42a04d81e25135943d93963fc0a97b0c) Author: Charlie Vieth <[email protected]> Date: Wed Jul 3 02:58:43 2024 -0400 fastwalk: remove use of go1.21 features fastwalk: remove use of go1.21 features to fix fzf build ### [`v1.0.5`](https://redirect.github.com/charlievieth/fastwalk/releases/tag/v1.0.5): : add ToSlash option and replace getdirentries64 with readdir_r on macOS [Compare Source](https://redirect.github.com/charlievieth/fastwalk/compare/v1.0.4...v1.0.5) `v1.0.5` commit [`0446dfe`](https://redirect.github.com/charlievieth/fastwalk/commit/0446dfee205456aa26910d979020c2c8a10bdc6c) Author: Charlie Vieth <[email protected]> Date: Wed Jul 3 01:21:34 2024 -0400 fastwalk: add ToSlash option for enforcing forward-slash paths This commit adds the Config.ToSlash option which forces paths to be joined with a forward-slash instead of the default OS path separator. This mostly applies to Go binaries that are compiled for Windows but run under the Windows Subsystem for Linux (WSL) so this commit also adds a helper function DefaultToSlash which detects if we're a Windows exe running in WSL. commit [`22a282e`](https://redirect.github.com/charlievieth/fastwalk/commit/22a282e102e36d26640c7be9a6f5be51332c1566) (master) Author: Charlie Vieth <[email protected]> Date: Tue Jul 2 15:00:22 2024 -0400 mod: update go version to 1.20 commit [`d4d0d43`](https://redirect.github.com/charlievieth/fastwalk/commit/d4d0d434b50e0f68ce0b0f5d90e9fb2b6530e726) Author: Charlie Vieth <[email protected]> Date: Sat Jun 29 15:36:06 2024 -0400 dirent: handle nil DirEntry in StatDirEntry commit [`ca81468`](https://redirect.github.com/charlievieth/fastwalk/commit/ca81468f24cc4fe89132b0c636758f57211f3dc4) Author: Charlie Vieth <[email protected]> Date: Tue Jul 2 14:22:14 2024 -0400 gh: test on macos arm64 commit [`b2d5e56`](https://redirect.github.com/charlievieth/fastwalk/commit/b2d5e56e72634879a6b2fe2e236653635b5fe45b) Author: Charlie Vieth <[email protected]> Date: Tue Jul 2 14:12:03 2024 -0400 darwin: cleanup syscall code and use a fixed buffer for opendir Remove unused syscall code and use a fixed buffer for opendir which saves us an alloc. commit [`e515b65`](https://redirect.github.com/charlievieth/fastwalk/commit/e515b65661f4d522761beee1d6f51a72a26f1154) Author: Charlie Vieth <[email protected]> Date: Sat Jun 22 01:10:08 2024 -0400 darwin: replace getdirentries64 with readdir_r The performance benefit of getdirentries64 was negligible to non-existent and added a huge support burden code wise. ### [`v1.0.4`](https://redirect.github.com/charlievieth/fastwalk/releases/tag/v1.0.4): unix fix stat on unknown file type [Compare Source](https://redirect.github.com/charlievieth/fastwalk/compare/v1.0.3...v1.0.4) `v1.0.4` commit [`78ddd19`](https://redirect.github.com/charlievieth/fastwalk/commit/78ddd192101087c8caed66c225cbaa3d89686e16) (HEAD -> master, origin/master) Author: Jan Palus <[email protected]> Date: Mon Jun 17 15:55:32 2024 +0200 unix: fix stat on unknown file type make sure `unknownFileMode` const value matches what is returned when file type failed to be determmined commit [`9e83309`](https://redirect.github.com/charlievieth/fastwalk/commit/9e83309be824b060180b1365fe282b5557d2b1a7) Author: Charlie Vieth <[email protected]> Date: Sat Apr 6 01:25:18 2024 -0400 fastwalk: save a call to Stat when following links This also changes the code to immediately check if root exists. commit [`386c69b`](https://redirect.github.com/charlievieth/fastwalk/commit/386c69ba1182b9402e02eb327461f4a4a59fcc3c) Author: Charlie Vieth <[email protected]> Date: Sat Apr 6 01:07:16 2024 -0400 mod: remove empty go.sum file commit [`f3655c0`](https://redirect.github.com/charlievieth/fastwalk/commit/f3655c0d4b7320ae6991581e7d5942dcf67552e1) Author: Charlie Vieth <[email protected]> Date: Sat Apr 6 01:01:58 2024 -0400 all: reconcile build tags with internal/dirent package and test builds This mostly fixes the cluster fuck of build directives and reconciles them to match the Unix platforms supported by internal/dirent + darwin it also removes the appengine crap that was a legacy of the original code. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/getsolus/solbuild). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43NC4xIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information