10 namespace filesystem {
12 class directory_iterator;
13 class recursive_directory_iterator;
32 path(
const boost::filesystem::path& );
33 path(
const std::string&
p );
35 path(
const std::wstring&
p);
48 operator boost::filesystem::path& ();
49 operator const boost::filesystem::path& ()
const;
197 inline operator bool()
const {
return _path.has_value(); }
232#if !defined(__APPLE__)
236# define FC_HAS_SIMPLE_FILE_LOCK
238#ifdef FC_HAS_SIMPLE_FILE_LOCK
259 std::unique_ptr<impl> my;
const path * operator->() const
directory_iterator & operator++()
friend bool operator!=(const directory_iterator &, const directory_iterator &)
fc::path operator*() const
friend bool operator==(const directory_iterator &, const directory_iterator &)
detail::path_wrapper operator->() const
Used to forward declare value types.
wraps boost::filesystem::path to provide platform independent path manipulation.
std::wstring generic_wstring() const
std::wstring preferred_wstring() const
fc::path parent_path() const
std::string windows_string() const
replaces '/' with '\' in the result of generic_string()
fc::path filename() const
std::wstring wstring() const
static char separator_char
friend path operator/(const fc::path &p, const fc::path &)
path & operator=(const path &)
friend bool operator==(const fc::path &p, const fc::path &)
std::string preferred_string() const
std::string to_native_ansi_path() const
std::string string() const
fc::path extension() const
std::string generic_string() const
path & operator/=(const fc::path &)
friend bool operator!=(const fc::path &p, const fc::path &)
friend bool operator<(const fc::path &p, const fc::path &)
void replace_extension(const fc::path &e)
friend bool operator!=(const recursive_directory_iterator &, const recursive_directory_iterator &)
friend bool operator==(const recursive_directory_iterator &, const recursive_directory_iterator &)
recursive_directory_iterator()
~recursive_directory_iterator()
fc::path operator*() const
recursive_directory_iterator & operator++()
simple_lock_file(const path &lock_file_path)
temp_directory(temp_directory &&other)
temp_directory & operator=(temp_directory &&other)
temp_file_base(path_t &&path)
const fc::path & path() const
std::optional< fc::path > path_t
temp_file_base(const path_t &path)
temp_file(temp_file &&other)
temp_file & operator=(temp_file &&other)
stores null, int64, uint64, double, bool, string, std::vector<variant>, and variant_object's.
void rename(const path &from, const path &to)
bool remove(const path &p)
bool exists(const path &p)
void remove_all(const path &p)
bool is_regular_file(const path &p)
const fc::path & current_path()
void create_directories(const path &p)
void copy(const path &from, const path &to)
void create_hard_link(const path &from, const path &to)
path make_relative(const path &from, const path &to)
uint64_t file_size(const path &p)
bool is_directory(const path &p)
void resize_file(const path &file, size_t s)
uint64_t directory_size(const path &p)
path absolute(const path &p)
path canonical(const path &p)
void from_variant(const fc::variant &v, sysio::chain::chain_id_type &cid)
void chmod(const path &p, int perm)
void to_variant(const sysio::chain::shared_public_key &var, fc::variant &vo)
path temp_directory_path()
unsigned __int64 uint64_t
static const char * name()