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 isfile (const std::string &path, const FollowSymlink follow=FollowSymlink::FOLLOW_SYMLINK)
 
Try< Bytessize (const std::string &path, const FollowSymlink follow=FollowSymlink::FOLLOW_SYMLINK)
 
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)
 

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 
)
inline
Try< ino_t > os::stat::inode ( const std::string &  path,
const FollowSymlink  follow = FollowSymlink::FOLLOW_SYMLINK 
)
inline
bool os::stat::isdir ( const std::string &  path,
const FollowSymlink  follow = FollowSymlink::FOLLOW_SYMLINK 
)
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
Try< mode_t > os::stat::mode ( const std::string &  path,
const FollowSymlink  follow = FollowSymlink::FOLLOW_SYMLINK 
)
inline
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<uid_t> os::stat::uid ( const std::string &  path,
const FollowSymlink  follow = FollowSymlink::FOLLOW_SYMLINK 
)
inline