mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-31 13:02:52 +09:00
Don't store assets modified time into generated files (#18193)
This commit is contained in:
4
vendor/github.com/shurcooL/vfsgen/options.go
generated
vendored
4
vendor/github.com/shurcooL/vfsgen/options.go
generated
vendored
@ -26,6 +26,10 @@ type Options struct {
|
||||
// VariableComment is the comment of the http.FileSystem variable in the generated code.
|
||||
// If left empty, it defaults to "{{.VariableName}} statically implements the virtual filesystem provided to vfsgen.".
|
||||
VariableComment string
|
||||
|
||||
// UseGlobalModTime indicates that not retrieve files' modified time if it's true. Once this
|
||||
// is true, you have to define a function GlobalModTime(filename string) time.Time in the same package of generated files
|
||||
UseGlobalModTime bool
|
||||
}
|
||||
|
||||
// fillMissing sets default values for mandatory options that are left empty.
|
||||
|
Reference in New Issue
Block a user