bool sDeleteTree(const ZFileSpec& iFS) { for (ZFileIter iter = iFS; iter; iter.Advance()) sDeleteTree(iter.Current()); return iFS.Delete(); }
ZRef<ZAssetRep> ZAssetIterRep_FS::Current() { if (ZFileSpec theSpec = fIter.Current()) return new ZAssetRep_FS(theSpec); return ZRef<ZAssetRep>(); }
string ZAssetIterRep_FS::CurrentName() { return fIter.CurrentName(); }
void ZAssetIterRep_FS::Advance() { fIter.Advance(); }