Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2708849
globals.rs
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
414 B
Referenced Files
None
Subscribers
None
globals.rs
View Options
use
global_placeholders
::
init
;
use
macros_rs
::
crashln
;
pub
fn
init
()
{
match
home
::
home_dir
()
{
Some
(
path
)
=>
{
let
logs
=
format!
(
"{}/.pmc/logs/"
,
path
.
display
());
let
dump
=
format!
(
"{}/.pmc/dump.toml"
,
path
.
display
());
init
!
(
"pmc.logs"
,
logs
);
init
!
(
"pmc.dump"
,
dump
);
}
None
=>
crashln
!
(
"Impossible to get your home dir."
),
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 2, 1:26 AM (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
494979
Default Alt Text
globals.rs (414 B)
Attached To
Mode
rPMC Process Management Controller
Attached
Detach File
Event Timeline
Log In to Comment