#include <folly/File.h>
#include <folly/Exception.h>
#include <folly/FileUtil.h>
#include <folly/ScopeGuard.h>
#include <folly/portability/Fcntl.h>
#include <folly/portability/FmtCompile.h>
#include <folly/portability/SysFile.h>
#include <folly/portability/Unistd.h>
#include <system_error>
#include <glog/logging.h>
namespace folly {
File::File(int fd, bool ownsFd) noexcept : … { … }
File::File(const char* name, int flags, mode_t mode)
: … { … }
File::File(const std::string& name, int flags, mode_t mode)
: … { … }
File::File(StringPiece name, int flags, mode_t mode)
: … { … }
File::File(File&& other) noexcept : … { … }
File& File::operator=(File&& other) { … }
File::~File() { … }
File File::temporary() { … }
int File::release() noexcept { … }
void File::swap(File& other) noexcept { … }
void swap(File& a, File& b) noexcept { … }
File File::dup() const { … }
File File::dupCloseOnExec() const { … }
void File::close() { … }
bool File::closeNoThrow() { … }
void File::lock() { … }
bool File::try_lock() { … }
void File::lock_shared() { … }
bool File::try_lock_shared() { … }
void File::doLock(int op) { … }
bool File::doTryLock(int op) { … }
void File::unlock() { … }
void File::unlock_shared() { … }
}