stash/pkg/file
WithoutPants 2b29207f1e
Upgrade go to 1.25.9 and golangci-lint (#6869)
* Bump go version in go.mod
* Update compiler image.

Changed github download url since existing one didn't have version 12 of the SDK.

* Update macOS requirements in README for v0.32.0
* Update lint action
* Bump golangci-lint version
* Migrate golangci-lint config
* Fix QF1012 errors

(Use fmt.Fprintf(...) instead of WriteString(fmt.Sprintf(...)))

* Fix QF1003 errors

(could use tagged switch)

* Fix ST1005 errors

(error string capitalisation)

* Fix ST1011 errors

(seconds suffix)

* Fix QF1006 errors

(lift into loop condition)

* Fix QF1002 errors

(switch condition)

* Fix gocritic error

(deprecated paragraph)

* Fix incorrect nolint directive

* Ignore specific checks

noctx should be addressed in a later PR
---------
Co-authored-by: DogmaDragon <103123951+DogmaDragon@users.noreply.github.com>
Co-authored-by: feederbox826 <me@feederbox.cc>
2026-04-29 10:13:58 +10:00
..
image Return error when scanning avif in zip (#6356) 2025-12-02 14:27:29 +11:00
video Wrap CleanCaptions with database. Refactor AssociateCaptions. 2026-03-02 15:45:37 +11:00
clean.go Add option to ignore zip contents during clean (#6700) 2026-03-18 15:58:32 +11:00
delete.go Feature: Add trash support (#6237) 2025-11-26 13:38:19 +11:00
file.go Refactor file scanning and handling logic (#6498) 2026-01-27 17:42:15 +11:00
folder.go Fix panic when library path has trailing path separator (#6619) 2026-02-28 10:51:02 +11:00
folder_rename_detect.go Don't read stashignore files in zip files (#6693) 2026-03-18 13:01:22 +11:00
fs.go Handle symlink zip files (#5249) 2024-09-11 13:58:02 +10:00
handler.go Don't read stashignore files in zip files (#6693) 2026-03-18 13:01:22 +11:00
import.go Handle modified files where the case of the filename changed on case-insensitive filesystems (#6327) 2025-12-02 12:53:37 +11:00
move.go Fix caption handling during scan and check before correcting path (#6634) 2026-03-02 14:44:20 +11:00
scan.go Don't read stashignore files in zip files (#6693) 2026-03-18 13:01:22 +11:00
stashignore.go Upgrade go to 1.25.9 and golangci-lint (#6869) 2026-04-29 10:13:58 +10:00
stashignore_test.go Don't read stashignore files in zip files (#6693) 2026-03-18 13:01:22 +11:00
walk.go Refactor file scanning and handling logic (#6498) 2026-01-27 17:42:15 +11:00
zip.go Add basename and parent_folders fields to Folder graphql interface (#6494) 2026-02-27 10:58:11 +11:00