Bitcoin Core  21.99.0
P2P Digital Currency
Functions
getuniquepath.h File Reference
#include <fs.h>
Include dependency graph for getuniquepath.h:
This graph shows which files directly or indirectly include this file:

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: