Feel++ 0.111.0-preview.14
Finite Element Embedded Library in C++
Feel::RemoteData::Github Class Reference
+ Collaboration diagram for Feel::RemoteData::Github:

Public Member Functions

bool canDownload () const
 Return true if enough information is available to download a file.
 
bool canUpload () const
 Return true if enough information is available to upload data (GitHub uploads not supported)
 
std::vector< std::string > download (std::string const &dir=Environment::downloadsRepository()) const
 Download file/folder from the GitHub desc. More...
 
 Github (Github &&)=default
 
 Github (Github const &)=default
 
 Github (std::string const &desc, WorldComm &worldComm=Environment::worldComm())
 Initialize from a description: github:{owner:feelpp,repo:feelpp,branch:develop,path:toolboxes/fluid/TurekHron,token:xxxxx}.
 
bool isInit () const
 Return true if the GitHub is initialized from a desc.
 

Member Function Documentation

◆ download()

std::vector< std::string > Feel::RemoteData::Github::download ( std::string const &  dir = Environment::downloadsRepository()) const

Download file/folder from the GitHub desc.

Parameters
dir: the directory where the file is downloaded
Returns
: vector of paths of the downloaded files or the path of downloaded folder