2018-04-11 14:21:09 +02:00
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
# Storage Exports
|
|
|
|
# ----------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
MODULE = pgBackRest::LibC PACKAGE = pgBackRest::LibC
|
|
|
|
|
|
|
|
####################################################################################################################################
|
|
|
|
void
|
|
|
|
storageDriverPosixPathRemove(path, errorOnMissing, recurse)
|
|
|
|
const char *path
|
|
|
|
bool errorOnMissing
|
|
|
|
bool recurse
|
|
|
|
CODE:
|
|
|
|
MEM_CONTEXT_XS_TEMP_BEGIN()
|
|
|
|
{
|
2018-09-14 22:08:33 +02:00
|
|
|
storageDriverPosixPathRemove(storageDriverPosixNew(strNew("/"), 0640, 750, true, NULL), strNew(path), errorOnMissing, recurse);
|
2018-04-11 14:21:09 +02:00
|
|
|
}
|
|
|
|
MEM_CONTEXT_XS_TEMP_END();
|