mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
13 lines
303 B
Go
13 lines
303 B
Go
|
// Copyright 2022 The Go Authors. All rights reserved.
|
||
|
// Use of this source code is governed by a BSD-style
|
||
|
// license that can be found in the LICENSE file.
|
||
|
|
||
|
//go:build !noopt
|
||
|
|
||
|
package testenv
|
||
|
|
||
|
// OptimizationOff reports whether optimization is disabled.
|
||
|
func OptimizationOff() bool {
|
||
|
return false
|
||
|
}
|