Commit 2e1041f
authored
Fix setAttribute modificationData on Windows for directories (#1855)
- Add missing CreateFileW flag needed for directories.
- Adds verification that setAttributes correctly sets and retrieves
modification dates on both files and directories.1 parent 0506e46 commit 2e1041f
2 files changed
Lines changed: 22 additions & 1 deletion
File tree
- Sources/FoundationEssentials/FileManager
- Tests/FoundationEssentialsTests/FileManager
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
841 | 841 | | |
842 | 842 | | |
843 | 843 | | |
844 | | - | |
| 844 | + | |
845 | 845 | | |
846 | 846 | | |
847 | 847 | | |
| |||
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
886 | 886 | | |
887 | 887 | | |
888 | 888 | | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
889 | 910 | | |
890 | 911 | | |
891 | 912 | | |
| |||
0 commit comments