MCPcopy Create free account
hub / github.com/ashkulz/NppFTP / clone

Method clone

UTCP/src/UTDataSource.cpp:162–164  ·  view source on GitHub ↗

clone File data source copy constructor PARAM: none RETURN: pointer to the newly c reated object ************************************************/

Source from the content-addressed store, hash-verified

160 pointer to the newly c reated object
161************************************************/
162CUT_DataSource * CUT_FileDataSource::clone() {
163 return new CUT_FileDataSource(m_szFileName, m_nBufferSize);
164}
165
166/***********************************************
167~CUT_FileDataSource

Callers

nothing calls this directly

Calls 3

c_strMethod · 0.80
OpenMethod · 0.45
CloseMethod · 0.45

Tested by

no test coverage detected