Differences From Artifact [cab2ec45e5]:
- File
src/OFFileManager.h
— part of check-in
[c52f38388c]
at
2019-04-11 00:34:43
on branch trunk
— Make OFFileManager available with --disable-files
As OFFileManager also works with remote URLs, it makes sense to also
make it available when local files are disabled. In this case, all
path-based methods are unavailable. (user: js, size: 18659) [annotate] [blame] [check-ins using]
To Artifact [daabb28b95]:
- File
src/OFFileManager.h
— part of check-in
[2339bc3407]
at
2019-04-15 21:10:33
on branch trunk
— Use GetFileAttributesExW() instead of _wstat64()
Unlike _wstat64(), GetFileAttributesExW() works on drives. (user: js, size: 19287) [annotate] [blame] [check-ins using]
︙ | |||
54 55 56 57 58 59 60 61 62 63 64 65 66 67 | 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | + | * * @ref of_file_attribute_key_posix_uid * * @ref of_file_attribute_key_posix_gid * * @ref of_file_attribute_key_owner * * @ref of_file_attribute_key_group * * @ref of_file_attribute_key_last_access_date * * @ref of_file_attribute_key_modification_date * * @ref of_file_attribute_key_status_change_date * * @ref of_file_attribute_key_creation_date * * @ref of_file_attribute_key_symbolic_link_destination * * Other URL schemes might not have all keys and might have keys not listed. */ typedef OFConstantString *of_file_attribute_key_t; /*! |
︙ | |||
176 177 178 179 180 181 182 183 184 185 186 187 188 189 | 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 | + + + + + + + + | * @brief The last status change date of the file as an @ref OFDate. * * For convenience, a category on @ref OFDictionary is provided to access this * via @ref OFDictionary#fileStatusChangeDate. */ extern const of_file_attribute_key_t of_file_attribute_key_status_change_date; /*! * @brief The creation date of the file as an @ref OFDate. * * For convenience, a category on @ref OFDictionary is provided to access this * via @ref OFDictionary#fileCreationDate. */ extern const of_file_attribute_key_t of_file_attribute_key_creation_date; /*! * @brief The destination of a symbolic link as an @ref OFString. * * For convenience, a category on @ref OFDictionary is provided to access this * via @ref OFDictionary#fileSymbolicLinkDestination. */ extern const of_file_attribute_key_t |
︙ | |||
558 559 560 561 562 563 564 | 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 | - + - + - + + - + - + - + - + - + + - + + - + + + + + + + + + - - + + | */ - (void)createSymbolicLinkAtURL: (OFURL *)URL withDestinationPath: (OFString *)target; @end @interface OFDictionary (FileAttributes) /*! |