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

Method ValidType

src/FTPProfile.cpp:836–847  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

834}
835
836bool FTPProfile::ValidType(const TCHAR * type) const {
837 if (!type)
838 return false;
839
840 if (lstrlen(type) < 2)
841 return false;
842
843 if (type[0] != TEXT('.'))
844 return false;
845
846 return true;
847}
848
849int FTPProfile::ExpandTypeVector(tstring types, bool isAscii) {
850 const tstring delimiter = TEXT("|");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected