|
static void | remove (const std::string &path) |
|
Definition at line 64 of file kernel.cpp.
◆ ~GitFoldersHolder()
dunedaq::oks::GitFoldersHolder::~GitFoldersHolder |
( |
| ) |
|
|
inline |
Definition at line 67 of file kernel.cpp.
68 {
70
73
75 }
static void remove(const std::string &path)
std::set< std::string > s_git_folders
std::mutex s_git_folders_mutex
◆ erase()
void dunedaq::oks::GitFoldersHolder::erase |
( |
const std::string & | path | ) |
|
|
inline |
◆ insert()
void dunedaq::oks::GitFoldersHolder::insert |
( |
const std::string & | path | ) |
|
|
inline |
◆ remove()
static void dunedaq::oks::GitFoldersHolder::remove |
( |
const std::string & | path | ) |
|
|
inlinestatic |
Definition at line 78 of file kernel.cpp.
79 {
80 try
81 {
82 std::filesystem::remove_all(path);
83 }
84 catch (std::exception &ex)
85 {
86 Oks::error_msg(
"OksKernel::~OksKernel") <<
"cannot remove user repository \"" << path <<
"\"" << ex.what() << std::endl;
87 }
88 }
static std::ostream & error_msg(const char *)
◆ s_git_folders
std::set<std::string> dunedaq::oks::GitFoldersHolder::s_git_folders |
|
private |
◆ s_git_folders_mutex
std::mutex dunedaq::oks::GitFoldersHolder::s_git_folders_mutex |
|
private |
The documentation for this class was generated from the following file:
- /github/workspace/dunedaq/sourcecode/oks/src/kernel.cpp