Apache Mesos
Namespaces | Functions
stat.hpp File Reference
#include <string>
#include <type_traits>
#include <stout/bytes.hpp>
#include <stout/try.hpp>
#include <stout/unreachable.hpp>
#include <stout/windows.hpp>
#include <stout/os/int_fd.hpp>
#include <stout/windows/os.hpp>
#include <stout/internal/windows/attributes.hpp>
#include <stout/internal/windows/longpath.hpp>
#include <stout/internal/windows/reparsepoint.hpp>
#include <stout/internal/windows/symlink.hpp>

Go to the source code of this file.

Namespaces

 os
 
 os::stat
 

Functions

bool os::stat::islink (const std::string &path)
 
bool os::stat::isdir (const std::string &path, const FollowSymlink follow=FollowSymlink::FOLLOW_SYMLINK)
 
bool os::stat::isdir (const int_fd &fd)
 
bool os::stat::isfile (const std::string &path, const FollowSymlink follow=FollowSymlink::FOLLOW_SYMLINK)
 
Try< Bytesos::stat::size (const std::string &path, const FollowSymlink follow=FollowSymlink::FOLLOW_SYMLINK)
 
Try< Bytesos::stat::size (const int_fd &fd)
 
Try< long > os::stat::mtime (const std::string &path, const FollowSymlink follow=FollowSymlink::FOLLOW_SYMLINK)
 
Try< mode_tos::stat::mode (const std::string &path, const FollowSymlink follow=FollowSymlink::FOLLOW_SYMLINK)
 
Try< dev_t > os::stat::dev (const std::string &path, const FollowSymlink follow=FollowSymlink::FOLLOW_SYMLINK)
 
Try< ino_t > os::stat::inode (const std::string &path, const FollowSymlink follow=FollowSymlink::FOLLOW_SYMLINK)