Android-cuttlefish cvd tool
Functions
cuttlefish::anonymous_namespace{snapshot_utils.cc} Namespace Reference

Functions

bool IsFifo (const struct stat &file_stat)
 
bool IsSocket (const struct stat &file_stat)
 
bool IsSymlink (const struct stat &file_stat)
 
bool IsRegular (const struct stat &file_stat)
 
Result< void > CopyDirectoryImpl (const std::string &src_dir_path, const std::string &dest_dir_path, const std::function< bool(const std::string &)> &predicate)
 
std::string RealpathOrSelf (const std::string &path)
 

Function Documentation

◆ CopyDirectoryImpl()

Result< void > cuttlefish::anonymous_namespace{snapshot_utils.cc}::CopyDirectoryImpl ( const std::string &  src_dir_path,
const std::string &  dest_dir_path,
const std::function< bool(const std::string &)> &  predicate 
)

◆ IsFifo()

bool cuttlefish::anonymous_namespace{snapshot_utils.cc}::IsFifo ( const struct stat &  file_stat)

◆ IsRegular()

bool cuttlefish::anonymous_namespace{snapshot_utils.cc}::IsRegular ( const struct stat &  file_stat)

◆ IsSocket()

bool cuttlefish::anonymous_namespace{snapshot_utils.cc}::IsSocket ( const struct stat &  file_stat)

◆ IsSymlink()

bool cuttlefish::anonymous_namespace{snapshot_utils.cc}::IsSymlink ( const struct stat &  file_stat)

◆ RealpathOrSelf()

std::string cuttlefish::anonymous_namespace{snapshot_utils.cc}::RealpathOrSelf ( const std::string &  path)