-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: filesystemStore fails to prepend target file hashes on Windows (#…
…274) * fix: filesystemStore fails to prepend target file hashes on Windows The filesystemStore LocalStore implementation conflates paths and filepaths, which cause issues on systems where they take different formats (Windows). Signed-off-by: Torin Carey <[email protected]> * Fix tests for windows Signed-off-by: Torin Carey <[email protected]> * Use path instead of filepath for delegated role matching Signed-off-by: Torin Carey <[email protected]> * Add windows-latest to workflows Signed-off-by: Torin Carey <[email protected]> * Add gitattributes For the satisfaction of golangci-lint, go files should have LF line endings. Since the integrity of the test data is important, the metadata files should be marked as binary to prevent git from mangling them. Signed-off-by: Torin Carey <[email protected]>
- Loading branch information
1 parent
4febe4c
commit 37601e1
Showing
6 changed files
with
93 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# go enforces lf line endings | ||
*.go eol=lf | ||
|
||
# testdata should not be mangled by git | ||
*.json binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters