Differences From Artifact [c5306f3b5d]:
- File src/OFFileManager.m — part of check-in [494acfb3e0] at 2020-05-17 14:08:15 on branch trunk — Add support for non-Unicode Windows in all classes (user: js, size: 24573) [annotate] [blame] [check-ins using] [more...]
To Artifact [d64d08867d]:
- File
src/OFFileManager.m
— part of check-in
[25c985fec1]
at
2020-08-25 00:11:24
on branch trunk
— OFNumber: Remove (u)int{8,16,32,64} methods
Since C guarantees minimum sizes for char, short, int, long and long
long, these can be used instead. (user: js, size: 24624) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
934 935 936 937 938 939 940 | - (unsigned int)retainCount { return OF_RETAIN_COUNT_MAX; } @end @implementation OFDictionary (FileAttributes) | | | | | | | | | | 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 | - (unsigned int)retainCount { return OF_RETAIN_COUNT_MAX; } @end @implementation OFDictionary (FileAttributes) - (unsigned long long)fileSize { return [attributeForKeyOrException(self, of_file_attribute_key_size) unsignedLongLongValue]; } - (of_file_type_t)fileType { return attributeForKeyOrException(self, of_file_attribute_key_type); } - (unsigned long)filePOSIXPermissions { return [attributeForKeyOrException(self, of_file_attribute_key_posix_permissions) unsignedLongValue]; } - (unsigned long)filePOSIXUID { return [attributeForKeyOrException(self, of_file_attribute_key_posix_uid) unsignedLongValue]; } - (unsigned long)filePOSIXGID { return [attributeForKeyOrException(self, of_file_attribute_key_posix_gid) unsignedLongValue]; } - (OFString *)fileOwner { return attributeForKeyOrException(self, of_file_attribute_key_owner); } |
︙ | ︙ |