/
githubmirror
/
rclone
Обзор
Документация
Войти
/
githubmirror
/
rclone
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
backend/local/lchmod.go
16 строк
438 B
Nick Craig-Wood
local: fix permission and ownership on symlinks with --links and --metadata
14 ноя 2024, 19:20
14 ноя 2024, 19:20
01ccf20
Код
Авторство
О чём код?
//go:build windows || plan9 || js || linux package local import "os" const haveLChmod = false // lChmod changes the mode of the named file to mode. If the file is a symbolic // link, it changes the link, not the target. If there is an error, // it will be of type *PathError. func lChmod(name string, mode os.FileMode) error { // Can't do this safely on this OS - chmoding a symlink always // changes the destination. return nil }