mirror of
https://github.com/restic/restic.git
synced 2026-05-28 12:55:23 +00:00
Vendor dependencies with dep
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
// +build go1.8
|
||||
|
||||
package profile
|
||||
|
||||
import "runtime"
|
||||
|
||||
func enableMutexProfile() {
|
||||
runtime.SetMutexProfileFraction(1)
|
||||
}
|
||||
|
||||
func disableMutexProfile() {
|
||||
runtime.SetMutexProfileFraction(0)
|
||||
}
|
||||
Reference in New Issue
Block a user