2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-02 01:48:30 +00:00
restic/internal/fs
Michael Eischer 4df2e33568 archiver: properly create node for vss backups
Previously, NodeFromFileInfo used the original file path to create the
node, which also meant that extended metadata was read from there
instead of within the vss snapshot.

This change is a temporary solution for restic 0.17.2 and will be
replaced with a clean fix in restic 0.18.0.
2024-10-18 22:26:18 +02:00
..
const_unix.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
const_windows.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
const.go fs: Add O_NONBLOCK 2018-04-30 15:34:58 +02:00
deviceid_unix.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
deviceid_windows.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
ea_windows_test.go Add test cases and handle volume GUID paths 2024-08-30 12:37:10 +02:00
ea_windows.go Fix extended attributes handling for VSS snapshots 2024-08-30 12:37:10 +02:00
file_unix.go Fix typos 2024-07-03 20:02:06 +02:00
file_windows_test.go Add simple test for fs.TempFile on windows 2022-04-09 23:37:58 +02:00
file_windows.go fs: fix long path handling for ResetPermissions, ClearAttributes and security descriptors 2024-07-29 20:10:58 +02:00
file.go fs: fix long path handling for ResetPermissions, ClearAttributes and security descriptors 2024-07-29 20:10:58 +02:00
fs_local_vss_test.go Rearange code 2024-04-29 01:27:34 +03:00
fs_local_vss.go archiver: properly create node for vss backups 2024-10-18 22:26:18 +02:00
fs_local.go archiver: properly create node for vss backups 2024-10-18 22:26:18 +02:00
fs_reader_command_test.go fix panic in fs_reader 2024-08-03 19:08:04 +00:00
fs_reader_command.go fix panic in fs_reader 2024-08-03 19:08:04 +00:00
fs_reader_test.go all: Replace some errors.Wrap calls by errors.WithStack 2022-12-17 09:41:07 +01:00
fs_reader.go archiver: properly create node for vss backups 2024-10-18 22:26:18 +02:00
fs_track.go Fix linter errors (except for tests) 2024-02-10 22:58:10 +01:00
helpers.go Simplify os.ModeType|os.ModeCharDevice => os.ModeType 2020-09-21 14:21:32 +02:00
interface.go archiver: properly create node for vss backups 2024-10-18 22:26:18 +02:00
path_prefix_test.go fs: Make HasPathPrefix work with relative paths 2018-01-05 17:38:52 +01:00
path_prefix.go fs: Make HasPathPrefix work with relative paths 2018-01-05 17:38:52 +01:00
preallocate_darwin.go Move PreallocateFile to fs package 2023-06-09 11:49:06 +03:00
preallocate_linux.go fs: retry preallocate on Linux if interrupted by signal 2024-10-18 21:47:59 +02:00
preallocate_other.go Move PreallocateFile to fs package 2023-06-09 11:49:06 +03:00
preallocate_test.go Move PreallocateFile to fs package 2023-06-09 11:49:06 +03:00
sd_windows_test_helpers.go Fix review comments 2024-04-29 16:21:38 -06:00
sd_windows_test.go Fix review comments 2024-04-29 16:21:38 -06:00
sd_windows.go fs: fix error handling for retried get/set of security descriptor 2024-08-30 12:46:07 +02:00
setflags_linux_test.go Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
setflags_linux.go Set O_NOATIME flag on Linux 2022-02-06 15:00:34 +01:00
setflags_other.go Set O_NOATIME flag on Linux 2022-02-06 15:00:34 +01:00
stat_bsd.go fs: Remove explicit type check in extendedStat 2022-11-27 19:58:06 +01:00
stat_test.go use consistent alias for interal/test package 2024-03-29 00:24:03 +01:00
stat_unix.go fs: Remove explicit type check in extendedStat 2022-11-27 19:58:06 +01:00
stat_windows.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
stat.go Examine file ctime when checking if files have changed. 2019-04-23 21:54:35 -05:00
vss_windows.go Rearange code 2024-04-29 01:27:34 +03:00
vss.go Fix texts and comments 2024-04-29 01:18:46 +03:00