Android-cuttlefish cvd tool
Functions | Variables
cuttlefish::anonymous_namespace{xdg.cpp} Namespace Reference

Functions

std::optional< std::string > NonEmptyEnv (const std::string &var_name)
 
Result< std::string > XdgDataHome ()
 
Result< std::string > XdgConfigHome ()
 
Result< std::string > XdgStateHome ()
 
Result< std::string > XdgCacheHome ()
 
std::string XdgRuntimeDir ()
 
Result< std::vector< std::string > > XdgDataDirs ()
 
Result< std::vector< std::string > > XdgConfigDirs ()
 

Variables

constexpr char kCvdSuffix [] = "/cvd"
 

Function Documentation

◆ NonEmptyEnv()

std::optional< std::string > cuttlefish::anonymous_namespace{xdg.cpp}::NonEmptyEnv ( const std::string &  var_name)

◆ XdgCacheHome()

Result< std::string > cuttlefish::anonymous_namespace{xdg.cpp}::XdgCacheHome ( )

◆ XdgConfigDirs()

Result< std::vector< std::string > > cuttlefish::anonymous_namespace{xdg.cpp}::XdgConfigDirs ( )

◆ XdgConfigHome()

Result< std::string > cuttlefish::anonymous_namespace{xdg.cpp}::XdgConfigHome ( )

◆ XdgDataDirs()

Result< std::vector< std::string > > cuttlefish::anonymous_namespace{xdg.cpp}::XdgDataDirs ( )

◆ XdgDataHome()

Result< std::string > cuttlefish::anonymous_namespace{xdg.cpp}::XdgDataHome ( )

◆ XdgRuntimeDir()

std::string cuttlefish::anonymous_namespace{xdg.cpp}::XdgRuntimeDir ( )

◆ XdgStateHome()

Result< std::string > cuttlefish::anonymous_namespace{xdg.cpp}::XdgStateHome ( )

Variable Documentation

◆ kCvdSuffix

constexpr char cuttlefish::anonymous_namespace{xdg.cpp}::kCvdSuffix[] = "/cvd"
constexpr