-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go binding: use pathrs_proc_readlink to get *os.File names
Users shouldn't use (*os.File).Name() but a lot of Go users do use it for debugging and logging purposes, so it's best to include the real name of the file. (We might want to add some prefix to the name in the future to indicate that this name is for informational purposes only, and shouldn't be used for actual filesystem operations.) Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
- Loading branch information
Showing
3 changed files
with
31 additions
and
48 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
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