Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-840

unused code in the mongo-tools project

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 3.1.6
    • Component/s: All Tools
    • None

      The following code is unused:

      common/bsonutil/number.go:10:1: getFloat
      common/db/db_test.go:61:1: AsRunnable
      common/db/namespaces.go:21:1: buildBsonArray
      common/util/slice.go:41:1: SliceCount
      mongoimport/common_test.go:80:1: convertBSONDToRaw
      common/util/exit_code.go:9:2: ExitClean
      mongodump/mongodump.go:30:2: defaultPermissions
      mongostat/stat_types.go:21:2: Discover
      mongoimport/csv/reader.go:75:2: ErrTrailingComma
      common/archive/demultiplexer.go:310:7: cache
      common/archive/prelude.go:181:7: hpc
      

      This is a conservative list. A couple of these may be parameters or receivers that are unused.

            Assignee:
            david.golden@mongodb.com David Golden
            Reporter:
            kyle.erf Kyle Erf
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: