2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-18 02:55:18 +00:00
Commit Graph

14 Commits

Author SHA1 Message Date
Klaus Post
dfe232cf46 Add Windows node support.
The syscall.Stat_t doesn't exist on Windows, so it is replaced by an interface,
which Windows can fill out, and field access is replaced by function calls.

Common Unix functionality is put into "node_unix.go", so there is less boilerplate.

Symlinks are skipped on Windows, since they require admin privileges.
2015-08-14 15:57:47 +02:00
Alexander Neumann
44219c5afe node/Linux: Implement setting timestamps for symlinks 2015-05-14 23:06:11 +02:00
Alexander Neumann
1723be5a50 node: Move unix-specific functions back to node.go 2015-05-05 21:34:12 +02:00
Florian Weingarten
adcde1988e uint64(stat.Rdev) works on both platforms 2015-04-28 23:55:47 -04:00
Florian Weingarten
6ba11d8fb7 move fillExtra to node.go 2015-04-29 03:45:24 +00:00
Florian Weingarten
91a2a5f90a Move isNewer() into node.go 2015-04-29 03:31:07 +00:00
Florian Weingarten
4bb724fac2 Refactor node.go 2015-04-29 03:07:22 +00:00
Florian Weingarten
4aea591b96 fix darwin 2015-04-25 13:02:51 -04:00
Alexander Neumann
19486987b0 Merge remote-tracking branch 'fw42/mixed_caps' 2015-04-25 11:06:13 +02:00
Florian Weingarten
262e5a8b4a O_NOATIME on Linux 2015-04-25 00:45:20 +00:00
Florian Weingarten
ebae478631 Prefer mixedCaps over underscore 2015-04-24 19:39:32 -04:00
Alexander Neumann
6007452fd2 Fix darwin support 2015-03-08 14:32:49 +01:00
Alexander Neumann
d1fee28ae5 Extend darwin support 2015-02-03 21:32:01 +01:00
Alexander Neumann
1da693a7d7 Move platform specific code to different files 2015-02-03 21:18:19 +01:00