gunk-dev/the-valley

own_other.go

source6bf8ca46b311main's published tip history
326 bytes
1//go:build !unix
2
3package main
4
5// Where there is no flock, a controller does not lock the repository it
6// serves, as before the lock existed.
7
8type repoLock struct{}
9
10func ownRepo(string) (*repoLock, error) { return nil, nil }
11
12func (r *repoLock) check() error { return nil }
13func (r *repoLock) Close() error { return nil }