Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F112675
file-guard.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
322 B
Referenced Files
None
Subscribers
None
file-guard.hpp
View Options
/*
* This file is part of libkazv.
* SPDX-FileCopyrightText: 2021 Tusooa Zhu <tusooa@kazv.moe>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
#pragma once
#include
<filesystem>
struct
FileGuard
{
inline
~
FileGuard
()
{
std
::
filesystem
::
remove
(
m_filename
);
}
std
::
filesystem
::
path
m_filename
;
};
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sat, Nov 23, 9:54 PM (1 d, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39142
Default Alt Text
file-guard.hpp (322 B)
Attached To
Mode
rL libkazv
Attached
Detach File
Event Timeline
Log In to Comment