Files
restic/internal/restic/uid_windows.go
T
Michael Eischer 7015da44ad restic: extract UidGidInt into separate files
Extract UidGidInt to simplify moving the locking code to the repository.
2026-06-13 21:24:38 +02:00

11 lines
185 B
Go

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