aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/google/go-cmp/cmp/export_panic.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-08-01 13:35:43 +0200
committerGitHub <noreply@github.com>2022-08-01 13:35:43 +0200
commit82137dc64e27a797126ad2d5fcc86af2a621993a (patch)
treec5a2cb426b0de94e1fa1b18e54329d963b6188db /vendor/github.com/google/go-cmp/cmp/export_panic.go
parent271a9f45a462c652d4f025f583fc3bd204d95656 (diff)
parentd462da676cf0e97420d42ea64d72f69cab675922 (diff)
downloadpodman-82137dc64e27a797126ad2d5fcc86af2a621993a.tar.gz
podman-82137dc64e27a797126ad2d5fcc86af2a621993a.tar.bz2
podman-82137dc64e27a797126ad2d5fcc86af2a621993a.zip
Merge pull request #15108 from mtrmac/sigstore-sign
Sigstore sign
Diffstat (limited to 'vendor/github.com/google/go-cmp/cmp/export_panic.go')
-rw-r--r--vendor/github.com/google/go-cmp/cmp/export_panic.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/vendor/github.com/google/go-cmp/cmp/export_panic.go b/vendor/github.com/google/go-cmp/cmp/export_panic.go
new file mode 100644
index 000000000..ae851fe53
--- /dev/null
+++ b/vendor/github.com/google/go-cmp/cmp/export_panic.go
@@ -0,0 +1,16 @@
+// Copyright 2017, 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 purego
+// +build purego
+
+package cmp
+
+import "reflect"
+
+const supportExporters = false
+
+func retrieveUnexportedField(reflect.Value, reflect.StructField, bool) reflect.Value {
+ panic("no support for forcibly accessing unexported fields")
+}