#include "yarpcontextutils.h"#include <yarp/conf/dirs.h>#include <yarp/os/Os.h>#include <yarp/os/Log.h>#include <yarp/os/impl/PlatformDirent.h>#include <yarp/os/impl/PlatformSysStat.h>#include <yarp/os/impl/PlatformUnistd.h>#include <set>#include <string>#include <fstream>#include <iostream>#include <cstdlib>#include <cstring>#include <cerrno>#include <diff_match_patch.h>
Include dependency graph for yarpcontextutils.cpp:Go to the source code of this file.
| int diff | ( | std::string | contextName, |
| folderType | fType, | ||
| bool | verbose | ||
| ) |
Definition at line 863 of file yarpcontextutils.cpp.
| int diffList | ( | folderType | fType, |
| bool | verbose | ||
| ) |
Definition at line 903 of file yarpcontextutils.cpp.
Definition at line 92 of file yarpcontextutils.cpp.
| int fileMerge | ( | std::string | srcFileName, |
| std::string | destFileName, | ||
| std::string | commonParentName | ||
| ) |
Definition at line 530 of file yarpcontextutils.cpp.
| bool fileRemove | ( | std::string | fileName | ) |
Definition at line 141 of file yarpcontextutils.cpp.
| std::string getFolderStringName | ( | folderType | ftype | ) |
Definition at line 52 of file yarpcontextutils.cpp.
| std::string getFolderStringNameHidden | ( | folderType | ftype | ) |
Definition at line 65 of file yarpcontextutils.cpp.
| int import | ( | yarp::os::Bottle & | importArg, |
| folderType | fType, | ||
| bool | verbose | ||
| ) |
Definition at line 611 of file yarpcontextutils.cpp.
| int importAll | ( | folderType | fType, |
| bool | verbose | ||
| ) |
Definition at line 696 of file yarpcontextutils.cpp.
| bool isHidden | ( | std::string | fileName | ) |
Definition at line 78 of file yarpcontextutils.cpp.
| std::vector< std::string > listContentDirs | ( | const std::string & | curPath | ) |
Definition at line 258 of file yarpcontextutils.cpp.
| std::vector< std::string > listContentFiles | ( | const std::string & | curPath | ) |
Definition at line 287 of file yarpcontextutils.cpp.
| int merge | ( | yarp::os::Bottle & | mergeArg, |
| folderType | fType, | ||
| bool | verbose | ||
| ) |
Definition at line 947 of file yarpcontextutils.cpp.
| void prepareHomeFolder | ( | yarp::os::ResourceFinder & | rf, |
| folderType | ftype | ||
| ) |
Definition at line 380 of file yarpcontextutils.cpp.
Definition at line 408 of file yarpcontextutils.cpp.
Definition at line 332 of file yarpcontextutils.cpp.
| void printInstalledFolders | ( | yarp::os::ResourceFinder & | rf, |
| folderType | ftype | ||
| ) |
Definition at line 367 of file yarpcontextutils.cpp.
| void printSysadmFolders | ( | yarp::os::ResourceFinder & | rf, |
| folderType | ftype | ||
| ) |
Definition at line 354 of file yarpcontextutils.cpp.
| void printUserFolders | ( | yarp::os::ResourceFinder & | rf, |
| folderType | ftype | ||
| ) |
Definition at line 341 of file yarpcontextutils.cpp.
Definition at line 146 of file yarpcontextutils.cpp.
| int recursiveDiff | ( | std::string | srcDirName, |
| std::string | destDirName, | ||
| std::ostream & | output | ||
| ) |
Definition at line 472 of file yarpcontextutils.cpp.
| bool recursiveFileList | ( | const char * | basePath, |
| const char * | suffix, | ||
| std::set< std::string > & | filenames | ||
| ) |
Definition at line 424 of file yarpcontextutils.cpp.
| int recursiveMerge | ( | std::string | srcDirName, |
| std::string | destDirName, | ||
| std::string | commonParentName, | ||
| std::ostream & | output | ||
| ) |
Definition at line 554 of file yarpcontextutils.cpp.
Definition at line 217 of file yarpcontextutils.cpp.
| int remove | ( | yarp::os::Bottle & | removeArg, |
| folderType | fType, | ||
| bool | verbose | ||
| ) |
Definition at line 752 of file yarpcontextutils.cpp.