mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-01 12:26:34 -05:00
26 lines
558 B
C++
26 lines
558 B
C++
|
|
#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 &) 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 &) final;
|
||
|
|
};
|