MCPcopy Create free account
hub / github.com/alamaison/swish / _CreateFileGroupDescriptor

Method _CreateFileGroupDescriptor

swish/shell_folder/SftpDataObject.cpp:279–291  ·  view source on GitHub ↗

* Create CFSTR_FILEDESCRIPTOR format from cached PIDLs. */

Source from the content-addressed store, hash-verified

277 * Create CFSTR_FILEDESCRIPTOR format from cached PIDLs.
278 */
279HGLOBAL CSftpDataObject::_CreateFileGroupDescriptor()
280{
281 ExpandedList descriptors;
282 _ExpandPidlsInto(descriptors);
283
284 typedef ExpandedList::value_type descriptor_type;
285
286 return group_descriptor_from_range(
287 make_transform_iterator(
288 descriptors.begin(), mem_fn(&descriptor_type::get)),
289 make_transform_iterator(
290 descriptors.end(), mem_fn(&descriptor_type::get)));
291}
292
293/**
294 * Create an IStream for relative path stored in the lindexth FILEDESCRIPTOR.

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected