|
JX Application Framework
|
#include "jVCSUtil.h"#include "JRegex.h"#include "JSimpleProcess.h"#include "jFileUtil.h"#include "jStreamUtil.h"#include "jFStreamUtil.h"#include "jXMLUtil.h"#include <libxml/parser.h>#include "jGlobals.h"#include "jAssert.h"Functions | |
| bool | JIsVCSDirectory (const JString &name) |
| JSize | JGetVCSDirectoryNames (const JUtf8Byte ***dirNames) |
| JVCSType | JGetVCSType (const JString &path) |
| bool | JIsManagedByVCS (const JString &fullName, JVCSType *returnType) |
| void | JEditVCS (const JString &fullName) |
| JError | JRenameVCS (const JString &oldFullName, const JString &newFullName) |
| JError | JRemoveVCS (const JString &fullName, const bool sync, JProcess **returnP) |
| bool | JGetVCSRepositoryPath (const JString &origPath, JString *repoPath) |
| bool | JGetSVNEntryType (const JString &url, JString *type, JString *error) |
| void | JUpdateCVSIgnore (const JString &ignoreFullName) |
| const JString & | JGetGitDirectoryName () |
| bool | JSearchGitRoot (const JString &path, JString *gitRoot) |
Variables | |
| const JSize | kDirCount = sizeof(kDirName) / sizeof(const JUtf8Byte*) |
| const JUtf8Byte * | kJUnsupportedVCS = "JUnsupportedVCS" |
| void JEditVCS | ( | const JString & | fullName | ) |
| const JString & JGetGitDirectoryName | ( | ) |
This function makes a synchronous call to the central repository! It is only useful for command line interaction.
If the process succeeds, *type is the entry's "kind": file or dir
If the process fails, the error output is returned in *error.
if !sync and p != nullptr, p may return a process.
| void JUpdateCVSIgnore | ( | const JString & | ignoreFullName | ) |
| const JUtf8Byte* kJUnsupportedVCS = "JUnsupportedVCS" |