JX Application Framework
|
#include "JError.h"
Classes | |
class | JUnsupportedVCS |
Enumerations | |
enum | JVCSType { kJUnknownVCSType = 0 , kJSCCSType , kJCVSType , kJSVNType , kJGitType } |
Functions | |
bool | JIsVCSDirectory (const JString &name) |
JSize | JGetVCSDirectoryNames (const JUtf8Byte ***dirNames) |
JVCSType | JGetVCSType (const JString &path) |
bool | JIsManagedByVCS (const JString &fullName, JVCSType *returnType=nullptr) |
void | JEditVCS (const JString &fullName) |
JError | JRenameVCS (const JString &oldFullName, const JString &newFullName) |
JError | JRemoveVCS (const JString &fullName, const bool sync=true, JProcess **p=nullptr) |
bool | JGetVCSRepositoryPath (const JString &path, 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) |
enum JVCSType |
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 | ) |