Example #1
0
//******************************************************************** **********
HX_RESULT CHXFileSpecUtils::RemoveFile(const CHXFileSpecifier& fileSpec, IUnknown* pContext)
{
    if (kOpFsErrAny != OpFsRemove(fileSpec.GetPathName()))
    {
        return HXR_OK;
    }

    return HXR_FAILED;
};
Example #2
0
int __helix_remove(const char* pPath)
{
    int ret = -1;

    if (kOpFsErrAny != OpFsRemove(pPath))
    {
        return ret = 0;
    }
    return ret;
}