Archive.members

Provides access to all files and directories in the archive via a delegate method. This allows use in foreach loops.

class Archive(T, Filter = NullArchiveFilter)
@property
int delegate
(
int delegate
)
members
()

Examples

foreach(member; archive.members)
{
    if(member.isFile())
    {
        auto file = cast(archive.File)member;
        // Use properties of file
    }
    else
    {
        auto dir = cast(archive.Directory)member;
        // Use properties of dir
    }
}

Meta