ScpLocalFile.cleanup

bool cleanup(ref string errorMessage)

Closes the data descriptor and removes only the private staging name. A failed unlink keeps the pinned parent and name for a bounded retry.

Parameters

errorMessageReceives the cleanup error.

Returns

true when no staging name remains.