mirror of
https://gitea.com/gitea/tea.git
synced 2026-06-06 03:08:44 +02:00
a664449282
Remove go git library because it doesn't support sha256 repository but have an interface so that we could have other backend for the future. Reviewed-on: https://gitea.com/gitea/tea/pulls/1005 Reviewed-by: Zettat123 <39446+zettat123@noreply.gitea.com>
12 lines
352 B
Go
12 lines
352 B
Go
// Copyright 2026 The Gitea Authors. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package config
|
|
|
|
import "time"
|
|
|
|
// AcquireConfigLockForTesting exposes the internal lock helper to integration tests.
|
|
func AcquireConfigLockForTesting(lockPath string, timeout time.Duration) (func() error, error) {
|
|
return acquireConfigLock(lockPath, timeout)
|
|
}
|