diff options
author | Ben Woosley <ben.woosley@gmail.com> | 2023-03-06 23:41:46 +0100 |
---|---|---|
committer | TheCharlatan <seb.kung@gmail.com> | 2023-03-23 12:52:00 +0100 |
commit | 18fb36367a28819bd5ab402344802796a1248979 (patch) | |
tree | f3b9230dd86440f68d1bad93040470e503f886f9 /src/test/util_tests.cpp | |
parent | 40e1c4d4024b8ad35f2511b2e10bf80c5531dfde (diff) | |
download | bitcoin-18fb36367a28819bd5ab402344802796a1248979.tar.xz |
refactor: Extract util/fs_helpers from util/system
This is an extraction of filesystem related functions from util/system
into their own utility file.
The background of this commit is an ongoing effort to decouple the
libbitcoinkernel library from the ArgsManager defined in system.h.
Moving these functions out of system.h allows including them from a
separate source file without including the ArgsManager definitions from
system.h.
Diffstat (limited to 'src/test/util_tests.cpp')
-rw-r--r-- | src/test/util_tests.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/util_tests.cpp b/src/test/util_tests.cpp index a13552653e..d705981267 100644 --- a/src/test/util_tests.cpp +++ b/src/test/util_tests.cpp @@ -2,8 +2,6 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#include <util/system.h> - #include <clientversion.h> #include <fs.h> #include <hash.h> // For Hash() @@ -12,6 +10,8 @@ #include <test/util/random.h> #include <test/util/setup_common.h> #include <uint256.h> +#include <util/bitdeque.h> +#include <util/fs_helpers.h> #include <util/getuniquepath.h> #include <util/message.h> // For MessageSign(), MessageVerify(), MESSAGE_MAGIC #include <util/moneystr.h> @@ -22,7 +22,6 @@ #include <util/string.h> #include <util/time.h> #include <util/vector.h> -#include <util/bitdeque.h> #include <array> #include <cmath> |