/*
 * Copyright © 2021-2026 Pierrick Caillon <pierrick.caillon+zipdirfs@megami.fr>
 */
#ifndef ZIPDIRFS_UTILITIES_LIST_CLEANUP_H
#define ZIPDIRFS_UTILITIES_LIST_CLEANUP_H

#include "ZipDirFs/Containers/Helpers/EntryListProxy.h"
#include "ZipDirFs/Containers/Helpers/Factory.h"

namespace ZipDirFs::Utilities
{
	/**
	 * @brief Helper function to clean an entry
	 * @remarks Requires the associated factory to correctly free objects.
	 * @authors Pierrick Caillon <pierrick.caillon+zipdirfs@megami.fr>
	 */
	void CleanupEntryList(Containers::Helpers::EntryListProxy&,
		Containers::Helpers::Factory&);
} // namespace ZipDirFs::Utilities

#endif // ZIPDIRFS_UTILITIES_LIST_CLEANUP_H
