text: // Copyright (c) 2011-2017 The Cryptonote developers
  // Copyright (c) 2018 The Circle Foundation
  // Distributed under the MIT/X11 software license, see the accompanying
  // file COPYING or http://www.opensource.org/licenses/mit-license.php.
  
  #pragma once 
  
  #include <string>
  #include <system_error>
  
  namespace Tools
  {
    std::string getDefaultDataDirectory();
    std::string get_os_version_string();
    bool create_directories_if_necessary(const std::string& path);
    std::error_code replace_file(const std::string& replacement_name, const std::string& replaced_name);
    bool directoryExists(const std::string& path);
  }
  