![]() |
PhoenixMock
1.8.7
Tools to split/merge/print mock used in Phoenix
|
#include <dirent.h>#include "string_utils.h"#include "string_filename.h"#include "path_completion.h"
Include dependency graph for path_completion.cpp:Go to the source code of this file.
Functions | |
| std::string | completePathDir (const std::string &pathDir) |
| Complete the path directory. More... | |
| std::string | path_completion_all (const std::string &basePath) |
| Return all path/files which match the basePath. More... | |
| std::string | path_completion_dirOnly (const std::string &basePath) |
| Return all directories only which match the basePath. More... | |
| std::string | prefixPathDir (const std::string &pathDir) |
| Complete the path directory with a prefix. More... | |
| std::string completePathDir | ( | const std::string & | pathDir | ) |
Complete the path directory.
| pathDir | : path of the directory |
Definition at line 18 of file path_completion.cpp.
References isSameBegining().
Referenced by path_completion_all().
Here is the call graph for this function:
Here is the caller graph for this function:| std::string path_completion_all | ( | const std::string & | basePath | ) |
Return all path/files which match the basePath.
| basePath | : incomming path |
Definition at line 41 of file path_completion.cpp.
References completePathDir(), getDirectory(), getFileName(), isDirectoryExist(), isFileExist(), isSameBegining(), and prefixPathDir().
Referenced by OptionValue::bashCompletionValue().
Here is the call graph for this function:
Here is the caller graph for this function:| std::string path_completion_dirOnly | ( | const std::string & | basePath | ) |
Return all directories only which match the basePath.
| basePath | : incomming path |
Definition at line 87 of file path_completion.cpp.
References getDirectory(), getFileName(), isDirectoryExist(), and isSameBegining().
Referenced by OptionValue::bashCompletionValue().
Here is the call graph for this function:
Here is the caller graph for this function:| std::string prefixPathDir | ( | const std::string & | pathDir | ) |
Complete the path directory with a prefix.
| pathDir | : path of the directory |
Definition at line 30 of file path_completion.cpp.
Referenced by path_completion_all().
Here is the caller graph for this function: