0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 02:02:38 +01:00

ircd::fs::base: Make all items have persist=false behavior.

This commit is contained in:
Jason Volk 2020-04-19 17:18:56 -07:00
parent 2b5c6bfd12
commit a063b4a681
2 changed files with 10 additions and 0 deletions

View file

@ -24,6 +24,7 @@ namespace ircd::magic
string_view extensions(const mutable_buffer &out, const const_buffer &);
string_view description(const mutable_buffer &out, const const_buffer &);
extern conf::item<std::string> file_path;
extern const info::versions version_api, version_abi;
}

View file

@ -68,6 +68,7 @@ ircd::fs::base::prefix
{
{ "name", "ircd.fs.base.prefix" },
{ "default", RB_PREFIX },
{ "persist", false },
{ "help", "directory prefix" },
},
nullptr
@ -81,6 +82,7 @@ ircd::fs::base::bin
{
{ "name", "ircd.fs.base.bin" },
{ "default", RB_BIN_DIR },
{ "persist", false },
{ "help", "binary directory" },
},
nullptr
@ -94,6 +96,7 @@ ircd::fs::base::etc
{
{ "name", "ircd.fs.base.etc" },
{ "default", RB_CONF_DIR },
{ "persist", false },
{ "help", "configuration directory" },
}, []
{
@ -111,6 +114,7 @@ ircd::fs::base::lib
{
{ "name", "ircd.fs.base.lib" },
{ "default", RB_LIB_DIR },
{ "persist", false },
{ "help", "library directory" },
},
nullptr
@ -124,6 +128,7 @@ ircd::fs::base::modules
{
{ "name", "ircd.fs.base.modules" },
{ "default", RB_MODULE_DIR },
{ "persist", false },
{ "help", "modules directory" },
},
nullptr
@ -137,6 +142,7 @@ ircd::fs::base::share
{
{ "name", "ircd.fs.base.share" },
{ "default", RB_DATA_DIR },
{ "persist", false },
{ "help", "read-only data directory" },
},
nullptr
@ -150,6 +156,7 @@ ircd::fs::base::run
{
{ "name", "ircd.fs.base.run" },
{ "default", RB_RUN_DIR },
{ "persist", false },
{ "help", "runtime directory" },
}, []
{
@ -167,6 +174,7 @@ ircd::fs::base::log
{
{ "name", "ircd.fs.base.log" },
{ "default", RB_LOG_DIR },
{ "persist", false },
{ "help", "logging directory" },
}, []
{
@ -184,6 +192,7 @@ ircd::fs::base::db
{
{ "name", "ircd.fs.base.db" },
{ "default", RB_DB_DIR },
{ "persist", false },
{ "help", "database directory" },
}, []
{