BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
Go to the documentation of this file.
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;
const fc::path & path() const
void copy(const path &from, const path &to)
void remove_all(const path &p)
recursive_directory_iterator()
std::wstring wstring() const
temp_directory(temp_directory &&other)
fc::path extension() const
friend bool operator==(const recursive_directory_iterator &, const recursive_directory_iterator &)
std::wstring preferred_wstring() const
~recursive_directory_iterator()
friend bool operator==(const directory_iterator &, const directory_iterator &)
void chmod(const path &p, int perm)
void create_hard_link(const path &from, const path &to)
bool is_directory(const path &p)
path & operator/=(const fc::path &)
void from_variant(const variant &var, flat_set< T, A... > &vo, uint32_t _max_depth)
std::string string() const
path make_relative(const path &from, const path &to)
path & operator=(const path &)
void replace_extension(const fc::path &e)
directory_iterator & operator++()
recursive_directory_iterator & operator++()
bool remove(const path &p)
wraps boost::filesystem::path to provide platform independent path manipulation.
friend path operator/(const fc::path &p, const fc::path &)
fc::path operator*() const
static const char * name()
const fc::path & current_path()
std::string windows_string() const
replaces '/' with '\' in the result of generic_string()
std::string to_native_ansi_path() const
temp_file(temp_file &&other)
temp_directory & operator=(temp_directory &&other)
void to_variant(const flat_set< T, A... > &var, variant &vo, uint32_t _max_depth)
temp_file & operator=(temp_file &&other)
std::string generic_string() const
const path * operator->() const
path temp_directory_path()
void resize_file(const path &file, size_t s)
path absolute(const path &p)
friend bool operator!=(const recursive_directory_iterator &, const recursive_directory_iterator &)
fc::path operator*() const
friend bool operator!=(const fc::path &p, const fc::path &)
path canonical(const path &p)
stores null, int64, uint64, double, bool, string, std::vector<variant>, and variant_object's.
detail::path_wrapper operator->() const
fc::path parent_path() const
uint64_t file_size(const path &p)
void create_directories(const path &p)
std::wstring generic_wstring() const
friend bool operator<(const fc::path &p, const fc::path &)
bool is_regular_file(const path &p)
friend bool operator==(const fc::path &p, const fc::path &)
temp_file_base(path_t &&path)
std::string preferred_string() const
temp_file_base(const path_t &path)
fc::path filename() const
void rename(const path &from, const path &to)
Used to forward declare value types.
bool exists(const path &p)
fc::optional< fc::path > path_t
friend bool operator!=(const directory_iterator &, const directory_iterator &)
uint64_t directory_size(const path &p)
static char separator_char