mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-18 04:53:06 +01:00
Cleanup.
This commit is contained in:
@@ -92,16 +92,16 @@ namespace bx
|
||||
};
|
||||
|
||||
/// Creates a directory named `_filePath`.
|
||||
bool make(const FilePath& _filePath, Error* _err);
|
||||
bool make(const FilePath& _filePath, Error* _err = NULL);
|
||||
|
||||
/// Creates a directory named `_filePath` along with all necessary parents.
|
||||
bool makeAll(const FilePath& _filePath, Error* _err);
|
||||
bool makeAll(const FilePath& _filePath, Error* _err = NULL);
|
||||
|
||||
/// Removes file or directory.
|
||||
bool remove(const FilePath& _filePath, Error* _err);
|
||||
bool remove(const FilePath& _filePath, Error* _err = NULL);
|
||||
|
||||
/// Removes file or directory recursivelly.
|
||||
bool removeAll(const FilePath& _filePath, Error* _err);
|
||||
bool removeAll(const FilePath& _filePath, Error* _err = NULL);
|
||||
|
||||
} // namespace bx
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ TEST_CASE("Settings", "")
|
||||
if (bx::open(&reader, filePath) )
|
||||
{
|
||||
bx::read(&reader, settings);
|
||||
bx::close(&writer);
|
||||
bx::close(&reader);
|
||||
}
|
||||
|
||||
REQUIRE(NULL == settings.get("meh") );
|
||||
|
||||
Reference in New Issue
Block a user