1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00

File: Document setReadOnly behaviour for Windows directories

This commit is contained in:
attila 2025-03-12 17:36:58 +01:00 committed by Attila Szarvas
parent 273c7936d3
commit 4362f9e0df

View file

@ -362,6 +362,9 @@ public:
/** Changes the write-permission of a file or directory.
Note that on Windows, there is no notion of a directory itself being read-only or not, and
the function will always return true when called with the non-recursive option.
@param shouldBeReadOnly whether to add or remove write-permission
@param applyRecursively if the file is a directory and this is true, it will
recurse through all the subfolders changing the permissions