summaryrefslogtreecommitdiff
path: root/redfish-core
diff options
context:
space:
mode:
authorEd Tanous <ed@tanous.net>2024-01-30 20:25:03 +0300
committerEd Tanous <ed@tanous.net>2024-04-02 06:25:33 +0300
commit5575efb61318a29b810b841390dce5b80cbeacfb (patch)
tree5965e70ac529144cd8b5bf6734fc395cf74ce31e /redfish-core
parent51bd2d8a8b9d73d4e86981c0d68056aa9e2c76b2 (diff)
downloadbmcweb-5575efb61318a29b810b841390dce5b80cbeacfb.tar.xz
Create TemporaryFileHandle class
TemporaryFileHandle class is used to create temp files in the filesystem, and hold a handle to them until the class goes out of scope, at which time they can be removed. It replaces makeFile(), which was not RAII safe if an exception gets thrown, and could potentially leave files in the filesystem if the tests fail. Tested: Unit tests pass Change-Id: I03eb0d342a6cd7b78115a8c42be9175f30c4ccd0 Signed-off-by: Ed Tanous <ed@tanous.net>
Diffstat (limited to 'redfish-core')
0 files changed, 0 insertions, 0 deletions