MCPcopy Create free account
hub / github.com/ImageEngine/cortex / ls

Method ls

src/IECore/FileSequenceFunctions.cpp:192–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192void IECore::ls( const std::string &path, std::vector< FileSequencePtr > &sequences, size_t minSequenceSize )
193{
194 sequences.clear();
195
196 if ( boost::filesystem::is_directory( path ) )
197 {
198 boost::filesystem::directory_iterator end;
199 std::vector< std::string > files;
200 for ( boost::filesystem::directory_iterator it( path ); it != end; ++it )
201 {
202 files.push_back( it->path().PATH_TO_STRING );
203 }
204
205 findSequences( files, sequences, minSequenceSize );
206 }
207}
208
209void IECore::ls( const std::string &sequencePath, FileSequencePtr &sequence, size_t minSequenceSize )
210{

Callers

nothing calls this directly

Calls 12

pathFunction · 0.85
getPaddingMethod · 0.80
getStartMethod · 0.80
getEndMethod · 0.80
setPaddingMethod · 0.80
clearMethod · 0.45
pathMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
getFrameListMethod · 0.45
asListMethod · 0.45

Tested by

no test coverage detected