MCPcopy Create free account
hub / github.com/HO-COOH/FastCopy / set

Method set

UnitTest/UnitTest.cpp:63–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 Attributes(LPCTSTR fileName) :m_fileName{ fileName } {}
62
63 void set(DWORD attribute)
64 {
65 if (!SetFileAttributes(m_fileName, attribute))
66 throw std::exception{};
67 }
68
69 auto get()
70 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected