1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-23 21:34:43 +03:00

Fetch missing file in github.com/davecgh/go-spew/spew (#3995)

This commit is contained in:
Antoine GIRARD 2018-05-20 08:09:35 +02:00 committed by Lauris BH
parent 81b4d38f01
commit 8dca5ad526
2 changed files with 45 additions and 7 deletions

38
vendor/github.com/davecgh/go-spew/spew/bypasssafe.go generated vendored Normal file
View File

@ -0,0 +1,38 @@
// Copyright (c) 2015-2016 Dave Collins <dave@davec.name>
//
// Permission to use, copy, modify, and distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
// ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
// NOTE: Due to the following build constraints, this file will only be compiled
// when the code is running on Google App Engine, compiled by GopherJS, or
// "-tags safe" is added to the go build command line. The "disableunsafe"
// tag is deprecated and thus should not be used.
// +build js appengine safe disableunsafe
package spew
import "reflect"
const (
// UnsafeDisabled is a build-time constant which specifies whether or
// not access to the unsafe package is available.
UnsafeDisabled = true
)
// unsafeReflectValue typically converts the passed reflect.Value into a one
// that bypasses the typical safety restrictions preventing access to
// unaddressable and unexported data. However, doing this relies on access to
// the unsafe package. This is a stub version which simply returns the passed
// reflect.Value when the unsafe package is not available.
func unsafeReflectValue(v reflect.Value) reflect.Value {
return v
}

14
vendor/vendor.json vendored
View File

@ -390,7 +390,7 @@
"revisionTime": "2018-04-10T00:32:39Z"
},
{
"checksumSHA1": "HZHDKs2ZV3FhKKTBfMzkv3+moaQ=",
"checksumSHA1": "mrz/kicZiUaHxkyfvC/DyQcr8Do=",
"path": "github.com/davecgh/go-spew/spew",
"revision": "ecdeabc65495df2dec95d7c4a4c3e021903035e5",
"revisionTime": "2017-10-02T20:02:53Z"
@ -1368,18 +1368,18 @@
"revision": "917f41c560270110ceb73c5b38be2a9127387071",
"revisionTime": "2016-03-11T05:04:36Z"
},
{
"checksumSHA1": "NE1kNfAZ0AAXCUbwx196os/DSUE=",
"path": "github.com/tstranex/u2f",
"revision": "d21a03e0b1d9fc1df59ff54e7a513655c1748b0c",
"revisionTime": "2018-05-05T18:51:14Z"
},
{
"checksumSHA1": "MfWqWj0xRPdk1DpXCN0EXyBCa4Q=",
"path": "github.com/tinylib/msgp/msgp",
"revision": "c8cf64dff2009d53fa8f8a16df54d1cdfc64c4a7",
"revisionTime": "2018-05-16T16:41:16Z"
},
{
"checksumSHA1": "NE1kNfAZ0AAXCUbwx196os/DSUE=",
"path": "github.com/tstranex/u2f",
"revision": "d21a03e0b1d9fc1df59ff54e7a513655c1748b0c",
"revisionTime": "2018-05-05T18:51:14Z"
},
{
"checksumSHA1": "76U6GiRZsKjr9OWohbsdfKPok/E=",
"path": "github.com/twinj/uuid",