-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fix references to EvalSymlinksInScope, which is non-exported - Add relevant links to original implementation / introduction of the code to allow comparing the fork with the original upstream code. - Move GoDoc from the non-exported evalSymlinksInScope function to the exported FollowSymlinkInScope. - Remove the README.md, instead using doc.go to provide the package description. Signed-off-by: Sebastiaan van Stijn <[email protected]>
- Loading branch information
Showing
4 changed files
with
68 additions
and
34 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,4 +1,11 @@ | ||
// Package symlink implements EvalSymlinksInScope which is an extension of | ||
// filepath.EvalSymlinks, as well as a Windows long-path aware version of | ||
// filepath.EvalSymlinks from the Go standard library (https://golang.org/pkg/path/filepath). | ||
// Package symlink implements [FollowSymlinkInScope] which is an extension | ||
// of [path/filepath.EvalSymlinks], as well as a Windows long-path aware | ||
// version of [path/filepath.EvalSymlinks] from the Go standard library. | ||
// | ||
// The code from [path/filepath.EvalSymlinks] has been adapted in fs.go. | ||
// Read the [LICENSE.BSD] file that governs fs.go and [LICENSE.APACHE] for | ||
// fs_unix_test.go. | ||
// | ||
// [LICENSE.APACHE]: https://github.com/moby/sys/blob/symlink/v0.2.0/symlink/LICENSE.APACHE | ||
// [LICENSE.BSD]: https://github.com/moby/sys/blob/symlink/v0.2.0/symlink/LICENSE.APACHE | ||
package symlink |
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