Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Nov 7, 2018
1 parent 228b1b0 commit f9aeec0
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions doomsday/sdk/libcore/src/filesys/directoryfeed.cpp
Expand Up @@ -367,16 +367,6 @@ File &DirectoryFeed::manuallyPopulateSingleFile(NativePath const &nativePath,

if (status.type() == File::Type::File)
{
// auto *source = new NativeFile(nativePath.fileName(), nativePath);
// source->setStatus(status);
// File *file = source;
// if (existing)
// {
// file = FileSystem::get().interpret(source);
// }
// parent->add(file);
// FileSystem::get().index(*file);

parent->clear();
parent->clearFeeds();

Expand All @@ -400,21 +390,6 @@ File &DirectoryFeed::manuallyPopulateSingleFile(NativePath const &nativePath,
Folder::PopulateFullTree,
FS::DontInheritFeeds | FS::PopulateNewFolder);
}

// parent->attach(feed);
// if (!existing)
// {
// parent->createFile(nativePath.fileName());
// }
// else
// {
// parent->populate();
// }
// return FS::locate<File>(newFilePath);
// }
// else
// {
// }
}

} // namespace de

0 comments on commit f9aeec0

Please sign in to comment.