mirror of https://github.com/trapexit/mergerfs.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
564 B
25 lines
564 B
#pragma once
|
|
|
|
#include "tofrom_string.hpp"
|
|
|
|
class GIDCacheExpireTimeout : public ToFromString
|
|
{
|
|
public:
|
|
GIDCacheExpireTimeout(const int i = 60 * 60);
|
|
GIDCacheExpireTimeout(const std::string &);
|
|
|
|
public:
|
|
std::string to_string(void) const final;
|
|
int from_string(const std::string_view) final;
|
|
};
|
|
|
|
class GIDCacheRemoveTimeout : public ToFromString
|
|
{
|
|
public:
|
|
GIDCacheRemoveTimeout(const int = 60 * 60 * 12);
|
|
GIDCacheRemoveTimeout(const std::string &);
|
|
|
|
public:
|
|
std::string to_string(void) const final;
|
|
int from_string(const std::string_view) final;
|
|
};
|