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