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

Function cleanup

plugins/subversion/svnclient.cpp:39–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void cleanup( apr_file_t* outfile, const char* outfileName, apr_file_t* errfile, const char* errfileName, const svn::Pool& pool )
40{
41 if( outfile != nullptr )
42 {
43 apr_file_close( outfile );
44 }
45
46 if( errfile != nullptr )
47 {
48 apr_file_close( outfile );
49 }
50
51 if( outfileName != nullptr )
52 {
53 svn_error_clear( svn_io_remove_file ( outfileName, pool ) );
54 }
55
56
57 if( errfileName != nullptr )
58 {
59 svn_error_clear( svn_io_remove_file ( errfileName, pool ) );
60 }
61
62}
63
64SvnClient::SvnClient( svn::Context* ctx )
65 : QObject(nullptr), svn::Client( ctx ), m_ctxt( ctx )

Callers 8

diffMethod · 0.70
shutdownMethod · 0.50
TestCodeCompletionClass · 0.50
initTestCaseMethod · 0.50
KDevProjectOpenMethod · 0.50
projectDoneMethod · 0.50
TestCTestFindSuitesClass · 0.50
initTestCaseMethod · 0.50

Calls

no outgoing calls

Tested by 4

initTestCaseMethod · 0.40
KDevProjectOpenMethod · 0.40
projectDoneMethod · 0.40
initTestCaseMethod · 0.40