Android-cuttlefish cvd tool
Namespaces | Functions
filesystem.cpp File Reference
#include <pwd.h>
#include <android-base/logging.h>
#include <android-base/parseint.h>
#include <sys/file.h>
#include <sys/stat.h>
#include <unistd.h>
#include <vector>
#include "filesystem.h"
Include dependency graph for filesystem.cpp:

Namespaces

namespace  anonymous_namespace{filesystem.cpp}
 

Functions

int anonymous_namespace{filesystem.cpp}::LockFile (int fd)
 
std::string GetHomeDirPath ()
 
bool FileExists (const std::string &path)
 
bool EnsureDirectoryExists (const std::string &directory_path)
 

Function Documentation

◆ EnsureDirectoryExists()

bool EnsureDirectoryExists ( const std::string &  directory_path)

◆ FileExists()

bool FileExists ( const std::string &  path)

◆ GetHomeDirPath()

std::string GetHomeDirPath ( )