Android-cuttlefish cvd tool
Namespaces | Functions
ensure_owned_directory_exists.cc File Reference
#include "cuttlefish/files/ensure_owned_directory_exists.h"
#include <errno.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <unistd.h>
#include <string>
#include "cuttlefish/common/libs/fs/fd.h"
#include "cuttlefish/posix/strerror.h"
#include "cuttlefish/result/expect.h"
#include "cuttlefish/result/result_type.h"
Include dependency graph for ensure_owned_directory_exists.cc:

Namespaces

namespace  cuttlefish
 

Functions

Result< void > cuttlefish::EnsureOwnedDirectoryExists (const std::string &directory_path, const mode_t mode)
 
Result< void > cuttlefish::EnsureOwnedDirectoryExists (const std::string &directory_path, const mode_t mode, const uid_t owner_uid)