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

#include "ZipDirFs/Containers/Helpers/Changed.h"
#include <filesystem>

namespace Test::ZipDirFs::Fuse
{
	namespace Fixtures
	{
		namespace fs = std::filesystem;
		struct OneChanged : public ::ZipDirFs::Containers::Helpers::Changed
		{
			OneChanged(const fs::file_time_type&);
			bool operator()();
			operator FileTime() const;

		private:
			bool called;
			FileTime time;
		};
	} // namespace Fixtures
} // namespace Test::ZipDirFs::Fuse

#endif // TEST_ZIPDIRFS_FUSE_FIXTURES_ONECHANGED_H
