summaryrefslogtreecommitdiff
path: root/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/go.mongodb.org/mongo-driver/x/mongo/driver/legacy.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/go.mongodb.org/mongo-driver/x/mongo/driver/legacy.go')
-rw-r--r--src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/go.mongodb.org/mongo-driver/x/mongo/driver/legacy.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/go.mongodb.org/mongo-driver/x/mongo/driver/legacy.go b/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/go.mongodb.org/mongo-driver/x/mongo/driver/legacy.go
deleted file mode 100644
index a6df77f42b5..00000000000
--- a/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/go.mongodb.org/mongo-driver/x/mongo/driver/legacy.go
+++ /dev/null
@@ -1,16 +0,0 @@
-package driver
-
-// LegacyOperationKind indicates if an operation is a legacy find, getMore, or killCursors. This is used
-// in Operation.Execute, which will create legacy OP_QUERY, OP_GET_MORE, or OP_KILL_CURSORS instead
-// of sending them as a command.
-type LegacyOperationKind uint
-
-// These constants represent the three different kinds of legacy operations.
-const (
- LegacyNone LegacyOperationKind = iota
- LegacyFind
- LegacyGetMore
- LegacyKillCursors
- LegacyListCollections
- LegacyListIndexes
-)