1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-28 10:49:02 +00:00
restic/lock_windows.go
Klaus Post e1f6bbac9f Create uid/gid convertion function.
Create separate function to convert user ID / group ID of a user to integer.
Windows is a stub, since this doesn't work on Windows (uid/gid is not a number).
2015-08-16 13:16:02 +02:00

10 lines
184 B
Go

package restic
import (
"os/user"
)
// uidGidInt always returns 0 on Windows, since uid isn't numbers
func uidGidInt(u user.User) (uid, gid uint32, err error) {
return 0, 0, nil
}