mirror of
https://github.com/kopia/kopia.git
synced 2026-01-28 08:18:58 -05:00
9 lines
214 B
Go
9 lines
214 B
Go
// +build !profiling
|
|
|
|
package cli
|
|
|
|
// withProfiling runs the given callback with profiling enabled, configured according to command line flags
|
|
func withProfiling(callback func() error) error {
|
|
return callback()
|
|
}
|