1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2025-01-21 06:48:35 +00:00
restic/internal/fs
Michael Eischer 2a5bbf170d fs: implement and use filehandle based readlink
The implementations are 90% copy&paste from the go standard library as
the existing code does not offer any way to read the symlink target
based on a filehandle.

Fall back to a standard readlink on platforms other than Linux and
Windows as those either don't even provide the necessary syscall or in
case of macOS are not yet available in Go.
2024-11-30 19:17:25 +01:00
..
const.go
const_unix.go
const_windows.go
doc.go
ea_windows.go
ea_windows_test.go
file.go
file_unix.go
file_unix_test.go
file_windows.go fs: abstract away filesystem ops from nodeFromFileInfo 2024-11-30 19:17:25 +01:00
file_windows_test.go
freadlink_darwin.go fs: implement and use filehandle based readlink 2024-11-30 19:17:25 +01:00
freadlink_linux.go fs: implement and use filehandle based readlink 2024-11-30 19:17:25 +01:00
freadlink_test.go fs: implement and use filehandle based readlink 2024-11-30 19:17:25 +01:00
freadlink_windows.go fs: implement and use filehandle based readlink 2024-11-30 19:17:25 +01:00
fs_local.go fs: abstract away filesystem ops from nodeFromFileInfo 2024-11-30 19:17:25 +01:00
fs_local_test.go
fs_local_unix_test.go
fs_local_vss.go
fs_local_vss_test.go
fs_reader.go
fs_reader_command.go
fs_reader_command_test.go
fs_reader_test.go
fs_track.go
interface.go
meta.go fs: abstract away filesystem ops from nodeFromFileInfo 2024-11-30 19:17:25 +01:00
meta_darwin.go fs: add file handle helpers 2024-11-30 19:17:25 +01:00
meta_fd.go fs: implement and use filehandle based readlink 2024-11-30 19:17:25 +01:00
meta_fd_notwindows.go fs: prepare fd based metadataHandle 2024-11-30 19:17:25 +01:00
meta_linux.go fs: add file handle helpers 2024-11-30 19:17:25 +01:00
meta_noxattr.go fs: abstract away filesystem ops from nodeFromFileInfo 2024-11-30 19:17:25 +01:00
meta_unix.go fs: abstract away filesystem ops from nodeFromFileInfo 2024-11-30 19:17:25 +01:00
meta_windows.go fs: add file handle helpers 2024-11-30 19:17:25 +01:00
meta_xattr.go fs: prepare fd based metadataHandle 2024-11-30 19:17:25 +01:00
mknod_unix.go
node.go fs: abstract away filesystem ops from nodeFromFileInfo 2024-11-30 19:17:25 +01:00
node_freebsd.go
node_linux.go
node_linux_test.go
node_noxattr.go fs: abstract away filesystem ops from nodeFromFileInfo 2024-11-30 19:17:25 +01:00
node_test.go
node_unix.go fs: abstract away filesystem ops from nodeFromFileInfo 2024-11-30 19:17:25 +01:00
node_unix_notlinux.go
node_unix_test.go
node_windows.go fs: abstract away filesystem ops from nodeFromFileInfo 2024-11-30 19:17:25 +01:00
node_windows_test.go
node_xattr.go fs: abstract away filesystem ops from nodeFromFileInfo 2024-11-30 19:17:25 +01:00
node_xattr_all_test.go fs: abstract away filesystem ops from nodeFromFileInfo 2024-11-30 19:17:25 +01:00
node_xattr_test.go
path_prefix.go
path_prefix_test.go
preallocate_darwin.go
preallocate_linux.go
preallocate_other.go
preallocate_test.go
sd_windows.go
sd_windows_test.go
sd_windows_test_helpers.go
setflags_linux.go
setflags_linux_test.go
setflags_other.go
stat.go
stat_bsd.go
stat_test.go
stat_unix.go
stat_windows.go
vss.go
vss_windows.go