Skip to content

Commit

Permalink
about ToNixPath, AsExplicitRelativePath, AsRelativePath
Browse files Browse the repository at this point in the history
  • Loading branch information
fcharlie authored Aug 30, 2024
1 parent d7a3b07 commit 056faad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/barrow/misc.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ func isSymlink(fi os.FileInfo) bool {
return fi.Mode()&os.ModeSymlink != 0
}


// ToNixPath, AsExplicitRelativePath, AsRelativePath (MIT License)
// Thanks: https://github.com/goreleaser/nfpm/blob/main/files/files.go

// ToNixPath converts the given path to a nix-style path.
//
// Windows-style path separators are considered escape
Expand Down

0 comments on commit 056faad

Please sign in to comment.