func (r *fileRepo) tryLockFile(l *lockfile.Lockfile) error {
	if l != nil {
		return l.TryLock()
	}

	return nil
}
// tryLockFile tries the filelock if one is given
tryLockFile tries the filelock if one is given
// tryLockFile tries the filelock if one is given
func (r *fileRepo) tryLockFile(l *lockfile.Lockfile) error {
	if l != nil {
		return l.TryLock()
	}
	return nil
}
func ( r * fileRepo ) tryLockFile ( l * lockfile . Lockfile ) error { if l != nil { return l . TryLock ( ) } return nil }
tryLockFile tries the filelock if one is given
tryLockFile tries the filelock if one is given