2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-25 14:17:42 +00:00
restic/internal/backend
greatroar 51dc80be5b backend: Use IoctlSetPointerInt for tcsetpgrp
This function casts its argument to int32 before passing it to the
system call, so that big-endian CPUs read the lower rather than the
upper 32 bits of the pid.

This also gets rid of the last import of "unsafe" in the Unix build.
I changed syscall to x/sys/unix while I was at it, to remove one more
import line. The constants and types there are aliases for their syscall
counterparts.
2023-05-25 17:31:51 +02:00
..
azure azure: Make create not error out when ContainerNotFound 2022-12-11 22:57:23 +01:00
b2 Merge pull request #2398 from DanielG/b2-hide-file 2022-12-13 22:52:23 +01:00
dryrun backend: remove Test method 2022-12-03 11:28:10 +01:00
gs gs: check against the correct error in IsNotExist 2022-12-03 18:49:54 +01:00
layout test: Use testing.T.Cleanup to remove tempdirs 2022-12-09 14:23:55 +01:00
limiter limiter: move to internal/backend 2022-07-17 13:40:15 +02:00
local test: Use testing.T.Cleanup to remove tempdirs 2022-12-09 14:23:55 +01:00
location backend, options: Prefer strings.Cut to SplitN 2022-12-02 19:19:14 +01:00
mem backend: remove Test method 2022-12-03 11:28:10 +01:00
mock backend: remove Test method 2022-12-03 11:28:10 +01:00
rclone test: Use testing.T.Cleanup to remove tempdirs 2022-12-09 14:23:55 +01:00
rest backend: Don't Wrap errors from url.Parse 2022-12-17 09:41:07 +01:00
retry retry: Do not retry Stat() if file does not exist 2022-12-03 11:42:48 +01:00
s3 Merge pull request #4089 from greatroar/errors 2022-12-24 10:41:56 +01:00
sema backend: Move semaphores to a dedicated package 2022-06-18 10:01:58 +02:00
sftp backend: Don't Wrap errors from url.Parse 2022-12-17 09:41:07 +01:00
swift backend: remove Test method 2022-12-03 11:28:10 +01:00
test test: Use testing.T.Cleanup to remove tempdirs 2022-12-09 14:23:55 +01:00
testdata Moves files 2017-07-23 14:19:13 +02:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
errdot_119.go rclone/sftp: Improve handling of ErrDot errors 2022-09-25 16:19:03 +02:00
errdot_old.go rclone/sftp: Improve handling of ErrDot errors 2022-09-25 16:19:03 +02:00
foreground_sysv.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
foreground_test.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
foreground_unix.go backend: Use IoctlSetPointerInt for tcsetpgrp 2023-05-25 17:31:51 +02:00
foreground_windows.go Fix rclone (scoop shim) and sftp issue due to detached console on Windows 2022-04-03 17:53:17 +08:00
foreground.go Sanitize environment before starting backend processes (rclone, ssh) 2020-11-02 16:41:23 +01:00
http_transport.go Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
paths.go backend: remove unused Paths variable 2022-10-21 21:36:05 +02:00
readerat.go backend: extract readerat from restic package 2022-07-17 15:29:09 +02:00
shell_split_test.go Refactor SplitShellStrings 2018-04-01 10:16:31 +02:00
shell_split.go Refactor SplitShellStrings 2018-04-01 10:16:31 +02:00
utils_test.go Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
utils.go retry key loading on hash mismatch 2022-09-25 11:35:35 +02:00