Bitcoin ABC 0.30.7
P2P Digital Currency
Functions
getuniquepath.cpp File Reference
#include <random.h>
#include <util/fs.h>
#include <util/strencodings.h>
Include dependency graph for getuniquepath.cpp:

Go to the source code of this file.

Functions

fs::path GetUniquePath (const fs::path &base)
 Helper function for getting a unique path. More...
 

Function Documentation

◆ GetUniquePath()

fs::path GetUniquePath ( const fs::path base)

Helper function for getting a unique path.

Parameters
[in]baseBase path
Returns
base joined with a random 8-character long string.
Postcondition
Returned path is unique with high probability.

Definition at line 5 of file getuniquepath.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: