Android-cuttlefish cvd tool
Classes | Functions | Variables
filesystem.h File Reference
#include <android-base/unique_fd.h>
#include <string>
Include dependency graph for filesystem.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FileLock
 

Functions

std::string GetHomeDirPath ()
 
bool FileExists (const std::string &path)
 
bool EnsureDirectoryExists (const std::string &directory_path)
 

Variables

const char kPathSeparator
 

Function Documentation

◆ EnsureDirectoryExists()

bool EnsureDirectoryExists ( const std::string &  directory_path)

◆ FileExists()

bool FileExists ( const std::string &  path)

◆ GetHomeDirPath()

std::string GetHomeDirPath ( )

Variable Documentation

◆ kPathSeparator

const char kPathSeparator
Initial value:
=
'/'