mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
ircd::fs: Update/fix syspaths related.
This commit is contained in:
parent
32b6e018c9
commit
951cd4ad63
2 changed files with 7 additions and 7 deletions
|
@ -68,7 +68,7 @@ namespace ircd::fs
|
|||
std::string cwd();
|
||||
}
|
||||
|
||||
/// elements for default paths.
|
||||
/// Index of default paths. Must be aligned with fs::syspaths (see: fs.cc)
|
||||
enum ircd::fs::index
|
||||
:int
|
||||
{
|
||||
|
|
12
ircd/fs.cc
12
ircd/fs.cc
|
@ -72,12 +72,12 @@ struct ircd::fs::sysent
|
|||
decltype(ircd::fs::syspaths)
|
||||
ircd::fs::syspaths
|
||||
{{
|
||||
{ "prefix", RB_PREFIX },
|
||||
{ "binary dir", RB_BIN_DIR },
|
||||
{ "database", RB_DB_DIR },
|
||||
{ "conf", RB_CONF_DIR },
|
||||
{ "log", RB_LOG_DIR },
|
||||
{ "modules", RB_MODULE_DIR },
|
||||
{ "installation prefix", RB_PREFIX },
|
||||
{ "binary directory", RB_BIN_DIR },
|
||||
{ "configuration directory", RB_CONF_DIR },
|
||||
{ "database directory", RB_DB_DIR },
|
||||
{ "log directory", RB_LOG_DIR },
|
||||
{ "module directory", RB_MODULE_DIR },
|
||||
}};
|
||||
|
||||
ircd::string_view
|
||||
|
|
Loading…
Reference in a new issue