1
0
mirror of https://github.com/restic/restic.git synced 2025-08-16 10:37:30 +00:00
Files
.github
changelog
cmd
contrib
doc
docker
helpers
internal
archiver
backend
azure
b2
dryrun
gs
limiter
local
config.go
doc.go
layout_test.go
local.go
local_internal_test.go
local_test.go
local_unix.go
local_windows.go
location
mem
mock
rclone
rest
s3
sema
sftp
swift
test
testdata
backend_error.go
backend_retry.go
backend_retry_test.go
doc.go
errdot_119.go
errdot_old.go
foreground.go
foreground_sysv.go
foreground_test.go
foreground_unix.go
foreground_windows.go
http_transport.go
layout.go
layout_default.go
layout_rest.go
layout_s3legacy.go
layout_test.go
paths.go
readerat.go
shell_split.go
shell_split_test.go
utils.go
utils_test.go
bloblru
cache
checker
crypto
debug
dump
errors
filter
fs
fuse
hashing
index
migrations
options
pack
repository
restic
restorer
selfupdate
test
textfile
ui
walker
.dockerignore
.gitattributes
.gitignore
.golangci.yml
CHANGELOG.md
CONTRIBUTING.md
GOVERNANCE.md
LICENSE
Makefile
README.md
VERSION
build.go
doc.go
go.mod
go.sum
restic/internal/backend/local/local_windows.go

16 lines
353 B
Go
Raw Normal View History

package local
import (
"os"
)
// Can't explicitly flush directory changes on Windows.
func fsyncDir(dir string) error { return nil }
// We don't modify read-only on windows,
// since it will make us unable to delete the file,
// and this isn't common practice on this platform.
func setFileReadonly(f string, mode os.FileMode) error {
return nil
}