MCPcopy Create free account
hub / github.com/MailCore/mailcore2 / containsFolder

Method containsFolder

src/core/imap/MCIMAPNamespaceItem.cpp:111–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111bool IMAPNamespaceItem::containsFolder(String * folder)
112{
113 if (mPrefix->length() == 0)
114 return true;
115 return folder->hasPrefix(mPrefix);
116}
117
118void IMAPNamespaceItem::importIMAPNamespaceInfo(struct mailimap_namespace_info * info)
119{

Callers 1

itemForPathMethod · 0.45

Calls 2

hasPrefixMethod · 0.80
lengthMethod · 0.45

Tested by

no test coverage detected