Commit graph

8 commits

Author SHA1 Message Date
Tom Wiesing
0f6803f890
Use fsx package and friends from pkglib 2023-04-08 17:52:19 +02:00
Tom Wiesing
9807213e60
Replace deprecated os.Is{Not,}Exist calls
This commit replaces deprecated calls to `os.Is{Not,}Exist` with the
newer `errors.Is(err, fs.Err{Not,}Exist)`.
2023-03-02 12:56:20 +01:00
Tom Wiesing
473040a69f
Remove environment.Environment struct
This commit completely removes the environment struct as it is no longer
used.
2023-03-02 12:52:51 +01:00
Tom Wiesing
5a43ecfaeb
pkg/environment: Migrate fs functions to fsx 2023-03-02 11:38:30 +01:00
Tom Wiesing
45540ab253
pkg/environment: Remove some file-based functions
This commit removes certain file-based functions from 'pkg/environment',
continuing the migration to entirely remove the package.
2023-03-02 11:15:15 +01:00
Tom Wiesing
471ccbadc5
Move to Traefik 2022-11-16 13:07:09 +01:00
Tom Wiesing
f19619ef9f
Add 'environment' package
This commit adds a new environment package that manages all calls to the
underlying operating system.
2022-09-18 14:24:22 +02:00
Tom Wiesing
a360324f62
Refactor Package structure
This commit cleans up the package structure, to make two new top-level
packages `internal` (for internal-use packages) and `pkg` (for general
shared utility code).
2022-09-12 15:42:21 +02:00