mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-12-24 11:51:13 +08:00
refactor: use go workspace for syncthing gui (#549)
This commit is contained in:
1
vendor/github.com/syncthing/syncthing/lib/api/auto/.gitignore
generated
vendored
1
vendor/github.com/syncthing/syncthing/lib/api/auto/.gitignore
generated
vendored
@@ -1 +0,0 @@
|
||||
gui.files.go
|
||||
10
vendor/github.com/syncthing/syncthing/lib/api/auto/doc.go
generated
vendored
10
vendor/github.com/syncthing/syncthing/lib/api/auto/doc.go
generated
vendored
@@ -1,10 +0,0 @@
|
||||
// Copyright (C) 2014 The Syncthing Authors.
|
||||
//
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
||||
// You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
|
||||
//go:generate go run ../../../script/genassets.go -o gui.files.go ../../../gui
|
||||
|
||||
// Package auto contains auto generated files for web assets.
|
||||
package auto
|
||||
33
vendor/github.com/syncthing/syncthing/lib/api/auto/noassets.go
generated
vendored
33
vendor/github.com/syncthing/syncthing/lib/api/auto/noassets.go
generated
vendored
@@ -1,33 +0,0 @@
|
||||
// Copyright (C) 2021 The Syncthing Authors.
|
||||
//
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
||||
// You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
|
||||
//go:build noassets
|
||||
// +build noassets
|
||||
|
||||
package auto
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"compress/gzip"
|
||||
|
||||
"github.com/syncthing/syncthing/lib/assets"
|
||||
)
|
||||
|
||||
func Assets() map[string]assets.Asset {
|
||||
// Return a minimal index.html and nothing else, to allow the trivial
|
||||
// test to pass.
|
||||
|
||||
buf := new(bytes.Buffer)
|
||||
gw := gzip.NewWriter(buf)
|
||||
_, _ = gw.Write([]byte("<html></html>"))
|
||||
_ = gw.Flush()
|
||||
return map[string]assets.Asset{
|
||||
"default/index.html": {
|
||||
Gzipped: true,
|
||||
Content: buf.String(),
|
||||
},
|
||||
}
|
||||
}
|
||||
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
@@ -1,3 +1,4 @@
|
||||
## workspace
|
||||
# cel.dev/expr v0.19.1
|
||||
## explicit; go 1.21.1
|
||||
cel.dev/expr
|
||||
@@ -1492,7 +1493,6 @@ github.com/syncthing/syncthing/internal/gen/dbproto
|
||||
github.com/syncthing/syncthing/internal/gen/discoproto
|
||||
github.com/syncthing/syncthing/internal/protoutil
|
||||
github.com/syncthing/syncthing/lib/api
|
||||
github.com/syncthing/syncthing/lib/api/auto
|
||||
github.com/syncthing/syncthing/lib/assets
|
||||
github.com/syncthing/syncthing/lib/beacon
|
||||
github.com/syncthing/syncthing/lib/build
|
||||
|
||||
Reference in New Issue
Block a user