MCPcopy Create free account
hub / github.com/KDE/kdevelop / localStatus

Function localStatus

plugins/subversion/3rdparty/kdevsvncpp/client_status.cpp:95–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 }
94
95 static StatusEntries
96 localStatus(const char * path,
97 const bool descend,
98 const bool get_all,
99 const bool update,
100 const bool no_ignore,
101 Context * context,
102 const bool ignore_externals)
103 {
104 svn_error_t *error;
105 StatusEntries entries;
106 svn_revnum_t revnum;
107 Revision rev(Revision::HEAD);
108 Pool pool;
109
110 error = svn_client_status2(
111 &revnum, // revnum
112 path, // path
113 rev, // revision
114 statusEntriesFunc, // status func
115 &entries, // status baton
116 descend, // recurse
117 get_all,
118 update, // need 'update' to be true to get repository lock info
119 no_ignore,
120 ignore_externals, // ignore_externals
121 *context, // client ctx
122 pool);
123
124 if (error!=nullptr)
125 throw ClientException(error);
126
127 return entries;
128 }
129
130 static Status
131 dirEntryToStatus(const char * path, const DirEntry & dirEntry)

Callers 1

statusMethod · 0.85

Calls 1

ClientExceptionClass · 0.85

Tested by

no test coverage detected