MCPcopy Create free account
hub / github.com/baidu/ICE-BA / FilesSearch

Function FilesSearch

Backend/Utility/Utility.cpp:250–327  ·  view source on GitHub ↗

[NOTE] Example usage: /path/to/files/ contains log_0000.txt -> log_1000.txt 1) UT::FilesSearch("/path/to/files/*", 4, 2, 10, false) Return: /path/to/files/log_0004.txt <-- absolute iStart /path/to/files/log_0006.txt <-- step is 2 /path/to/files/log_0008.txt /path/to/files/log_0010.txt <-- absolute iEnd (inclusive) 2) UT::FilesSearch("/path/to/files/log_0001.txt", 5, 2, 11, false) Return: /

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

InputSequenceMethod · 0.85
FilesStartSavingFunction · 0.85

Calls 10

FileNameExtractDirectoryFunction · 0.85
FileExistsFunction · 0.85
FileNameIncreaseSuffixFunction · 0.85
FileNameExtractExtensionFunction · 0.85
FileNameRemoveExtensionFunction · 0.85
push_backMethod · 0.80
endMethod · 0.80
sizeMethod · 0.80
emptyMethod · 0.80

Tested by

no test coverage detected