1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-05 00:28:52 +02:00

Storage object improvements.

* Add storageCopy(), storageMove(), and storagePathSync().
* Separate StorageFile object into separate read and write objects.
* Abstract out Posix file read/write objects.
This commit is contained in:
David Steele
2018-04-23 17:26:27 -04:00
parent 02cc8ccbd4
commit bb8c315cad
36 changed files with 1802 additions and 436 deletions

View File

@ -305,6 +305,6 @@ testRun()
dup2(stdoutSave, STDOUT_FILENO);
Storage *storage = storageNewNP(strNew(testPath()));
TEST_RESULT_STR(strPtr(strNewBuf(storageGetNP(storageOpenReadNP(storage, stdoutFile)))), generalHelp, " check text");
TEST_RESULT_STR(strPtr(strNewBuf(storageGetNP(storageNewReadNP(storage, stdoutFile)))), generalHelp, " check text");
}
}