11 #include <boost/functional/hash.hpp>
22 bool operator==(
const FILE_ID_128& a,
const FILE_ID_128& b);
32 const FILE_ID_INFO impl;
34 bool operator==(
const ID& other)
const {
35 return impl.VolumeSerialNumber == other.impl.VolumeSerialNumber &&
36 impl.FileId == other.impl.FileId;
54 static void remove(
const std::string&);
79 struct hash<winapi::File::ID> {
82 boost::hash_combine(seed,
id.impl.VolumeSerialNumber);
83 boost::hash_combine(seed,
id.impl.FileId.Identifier);
Absolute, canonical path.
static File open_w(const std::string &)
static void remove(const std::string &)
static File open_read_attributes(const std::string &)
static File open_r(const std::string &)
std::size_t get_size() const