view dep/anitomy/anitomy/options.h @ 391:c3f717b7321b

filesystem: only iterate over the list once when erasing deleted files :)
author Paper <paper@tflc.us>
date Fri, 07 Nov 2025 07:09:31 -0500
parents a0aa8c8c4307
children
line wrap: on
line source

/*
** Copyright (c) 2014-2017, Eren Okka
**
** This Source Code Form is subject to the terms of the Mozilla Public
** License, v. 2.0. If a copy of the MPL was not distributed with this
** file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

#pragma once

#include <vector>

#include "string.h"

namespace anitomy {

struct Options {
		string_t allowed_delimiters = U" _.&+,|";
		std::vector<string_t> ignored_strings;

		bool parse_episode_number = true;
		bool parse_episode_title = true;
		bool parse_file_extension = true;
		bool parse_release_group = true;
};

} // namespace anitomy