Apache Mesos
Namespaces | Enumerations | Functions
os::stat Namespace Reference

Namespaces

 internal
 

Enumerations

enum  FollowSymlink { FollowSymlink::DO_NOT_FOLLOW_SYMLINK, FollowSymlink::FOLLOW_SYMLINK, FollowSymlink::DO_NOT_FOLLOW_SYMLINK, FollowSymlink::FOLLOW_SYMLINK }
 
enum  FollowSymlink { FollowSymlink::DO_NOT_FOLLOW_SYMLINK, FollowSymlink::FOLLOW_SYMLINK, FollowSymlink::DO_NOT_FOLLOW_SYMLINK, FollowSymlink::FOLLOW_SYMLINK }
 

Functions

bool islink (const std::string &path)
 
bool isdir (const std::string &path, const FollowSymlink follow=FollowSymlink::FOLLOW_SYMLINK)
 
bool isdir (const int_fd fd)
 
bool isfile (const std::string &path, const FollowSymlink follow=FollowSymlink::FOLLOW_SYMLINK)
 
bool issocket (const std::string &path, const FollowSymlink follow=FollowSymlink::FOLLOW_SYMLINK)
 
Try< Bytessize (const std::string &path, const FollowSymlink follow=FollowSymlink::FOLLOW_SYMLINK)
 
Try< Bytessize (const int_fd fd)
 
Try< long > mtime (const std::string &path, const FollowSymlink follow=FollowSymlink::FOLLOW_SYMLINK)
 
Try< mode_tmode (const std::string &path, const FollowSymlink follow=FollowSymlink::FOLLOW_SYMLINK)
 
Try< dev_t > dev (const std::string &path, const FollowSymlink follow=FollowSymlink::FOLLOW_SYMLINK)
 
Try< dev_t > rdev (const std::string &path, const FollowSymlink follow=FollowSymlink::FOLLOW_SYMLINK)
 
Try< ino_t > inode (const std::string &path, const FollowSymlink follow=FollowSymlink::FOLLOW_SYMLINK)
 
Try< uid_tuid (const std::string &path, const FollowSymlink follow=FollowSymlink::FOLLOW_SYMLINK)
 
bool isdir (const int_fd &fd)
 
Try< Bytessize (const int_fd &fd)
 

Enumeration Type Documentation

Enumerator
DO_NOT_FOLLOW_SYMLINK 
FOLLOW_SYMLINK 
DO_NOT_FOLLOW_SYMLINK 
FOLLOW_SYMLINK 
Enumerator
DO_NOT_FOLLOW_SYMLINK 
FOLLOW_SYMLINK 
DO_NOT_FOLLOW_SYMLINK 
FOLLOW_SYMLINK 

Function Documentation

Try< dev_t > os::stat::dev ( const std::string &  path,
const FollowSymlink  follow = FollowSymlink::FOLLOW_SYMLINK 
)
inlinedelete
Try< ino_t > os::stat::inode ( const std::string &  path,
const FollowSymlink  follow = FollowSymlink::FOLLOW_SYMLINK 
)
inlinedelete
bool os::stat::isdir ( const int_fd fd)
inline
bool os::stat::isdir ( const std::string &  path,
const FollowSymlink  follow = FollowSymlink::FOLLOW_SYMLINK 
)
inline
bool os::stat::isdir ( const int_fd  fd)
inline
bool os::stat::isfile ( const std::string &  path,
const FollowSymlink  follow = FollowSymlink::FOLLOW_SYMLINK 
)
inline
bool os::stat::islink ( const std::string &  path)
inline
bool os::stat::issocket ( const std::string &  path,
const FollowSymlink  follow = FollowSymlink::FOLLOW_SYMLINK 
)
inline
Try< mode_t > os::stat::mode ( const std::string &  path,
const FollowSymlink  follow = FollowSymlink::FOLLOW_SYMLINK 
)
inlinedelete
Try< long > os::stat::mtime ( const std::string &  path,
const FollowSymlink  follow = FollowSymlink::FOLLOW_SYMLINK 
)
inline
Try<dev_t> os::stat::rdev ( const std::string &  path,
const FollowSymlink  follow = FollowSymlink::FOLLOW_SYMLINK 
)
inline
Try< Bytes > os::stat::size ( const std::string &  path,
const FollowSymlink  follow = FollowSymlink::FOLLOW_SYMLINK 
)
inline
Try<Bytes> os::stat::size ( const int_fd fd)
inline
Try<Bytes> os::stat::size ( const int_fd  fd)
inline
Try<uid_t> os::stat::uid ( const std::string &  path,
const FollowSymlink  follow = FollowSymlink::FOLLOW_SYMLINK 
)
inline