/
githubmirror
/
rclone
Обзор
Документация
Войти
/
githubmirror
/
rclone
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
lib/file/file_other.go
20 строк
591 B
albertony
build: remove build constraint syntax for go 1.16 and older
18 апр 2024, 17:53
18 апр 2024, 17:53
68bf6aa
Код
Авторство
О чём код?
//go:build !windows package file import "os" // OpenFile is the generalized open call; most users will use Open or Create // instead. It opens the named file with specified flag (O_RDONLY etc.) and // perm (before umask), if applicable. If successful, methods on the returned // File can be used for I/O. If there is an error, it will be of type // *PathError. // // Under both Unix and Windows this will allow open files to be // renamed and or deleted. var OpenFile = os.OpenFile // IsReserved checks if path contains a reserved name func IsReserved(path string) error { return nil }