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

Method prefixes

src/core/imap/MCIMAPNamespace.cpp:80–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80Array * IMAPNamespace::prefixes()
81{
82 Array * result = Array::array();
83 for(unsigned int i = 0 ; i < mItems->count() ; i ++) {
84 IMAPNamespaceItem * item = (IMAPNamespaceItem *) mItems->objectAtIndex(i);
85 result->addObject(item->prefix());
86 }
87 return result;
88}
89
90String * IMAPNamespace::pathForComponents(Array * components)
91{

Callers

nothing calls this directly

Calls 4

objectAtIndexMethod · 0.80
countMethod · 0.45
addObjectMethod · 0.45
prefixMethod · 0.45

Tested by

no test coverage detected