You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

serve_static.go 540B

123456789101112131415161718192021222324
  1. // Copyright 2016 The Gitea Authors. All rights reserved.
  2. // SPDX-License-Identifier: MIT
  3. //go:build bindata
  4. package public
  5. import (
  6. "time"
  7. "code.gitea.io/gitea/modules/assetfs"
  8. "code.gitea.io/gitea/modules/timeutil"
  9. )
  10. var _ GzipBytesProvider = (*vfsgen۰CompressedFileInfo)(nil)
  11. // GlobalModTime provide a global mod time for embedded asset files
  12. func GlobalModTime(filename string) time.Time {
  13. return timeutil.GetExecutableModTime()
  14. }
  15. func BuiltinAssets() *assetfs.Layer {
  16. return assetfs.Bindata("builtin(bindata)", Assets)
  17. }