Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-62115

Replace implementation of cb::io functions with std::filesystem

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Morpheus
    • Morpheus
    • memcached
    • None
    • Untriaged
    • 0
    • Unknown

    Description

      Same as MB-62106; Replace our own implementation for mkdirp, isDirectory, isFile with std::filesystem methods. There isn't any good reason for why those methods can't be used (if so there is a bug in the C++ standard library...)

      At the same time add [[nodiscard]] to let the compiler warn of possible usage errors where we discard the returned value.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            trond Trond Norbye
            trond Trond Norbye
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty