MCPcopy Create free account
hub / github.com/bailey27/cppcryptfs / VirtualAttributesDirIv

Function VirtualAttributesDirIv

libcppcryptfs/util/fileutil.cpp:47–53  ·  view source on GitHub ↗

derive attributes for virtual reverse-mode diriv file from the attributes of its directory

Source from the content-addressed store, hash-verified

45// derive attributes for virtual reverse-mode diriv file from
46// the attributes of its directory
47static DWORD
48VirtualAttributesDirIv(DWORD attr)
49{
50 attr &= ~(FILE_ATTRIBUTE_DIRECTORY | FILE_ATTRIBUTE_NORMAL);
51 attr |= FILE_ATTRIBUTE_READONLY | FILE_ATTRIBUTE_ARCHIVE;
52 return attr;
53}
54
55// derive attributes for virtual reverse-mode longname name file
56// from the attributes of its related file or directory

Callers 2

find_filesFunction · 0.85
get_file_informationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected