MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / isInList

Function isInList

extlibs/elzip/src/elzip_fs_fallback.cpp:19–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17
18template <typename V>
19inline bool isInList(V term, const std::vector<V>& list1)
20{
21 for (size_t k = 0; k < list1.size(); k++)
22 {
23 if (term == list1[k])
24 return true;
25 }
26 return false;
27}
28
29bool createDir(const std::string& dir)
30{

Callers 1

extractZipFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected