mirror of
https://github.com/rclone/rclone.git
synced 2024-12-24 13:03:51 +08:00
19 lines
381 B
Go
19 lines
381 B
Go
|
//go:build !linux && !darwin && !freebsd
|
||
|
|
||
|
package vfscommon
|
||
|
|
||
|
// get the current umask
|
||
|
func getUmask() int {
|
||
|
return 0000
|
||
|
}
|
||
|
|
||
|
// get the current uid
|
||
|
func getUID() uint32 {
|
||
|
return ^uint32(0) // these values instruct WinFSP-FUSE to use the current user
|
||
|
}
|
||
|
|
||
|
// get the current gid
|
||
|
func getGID() uint32 {
|
||
|
return ^uint32(0) // these values instruct WinFSP-FUSE to use the current user
|
||
|
}
|