Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-71808

Refactor options_parser to expose a function for reading files from disk.

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • None
    • None
    • None
    • Fully Compatible

    Description

      We want to read a relatively small (~KBs) file into a std::string. Because the use-case is for reading files specified via command line options similar to classic configuration files, it's preferable to preserve the same error handling behaviors.

      Attachments

        Activity

          People

            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: