Differences From Artifact [4d18813037]:
- File
src/OFFileManager.m
— part of check-in
[34fe205b84]
at
2017-11-12 18:27:56
on branch trunk
— OFFileManager: Major API redesign
This removes all query methods and replaces them by a single one that
returns a dictionary. Not only does this allow querying multiple
attributes at once, it is also more extensible, as the previous
attributes were specific to file URLs. (user: js, size: 41692) [annotate] [blame] [check-ins using]
To Artifact [b1663cc4e4]:
- File
src/OFFileManager.m
— part of check-in
[08fd4dc3bf]
at
2017-11-12 19:00:12
on branch trunk
— OFFileManager: Make all URL methods available
Methods dealing with URLs should not be unavailable just because the
local file system / operating system does not support them. (user: js, size: 41969) [annotate] [blame] [check-ins using]
︙ | |||
1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 | 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 | + + - + + + + | destinationPath: destination errNo: 0]; # endif objc_autoreleasePoolPop(pool); } #endif - (void)linkItemAtURL: (OFURL *)source toURL: (OFURL *)destination { #ifdef OF_FILE_MANAGER_SUPPORTS_LINKS void *pool = objc_autoreleasePoolPush(); [self linkItemAtPath: [source fileSystemRepresentation] toPath: [destination fileSystemRepresentation]]; objc_autoreleasePoolPop(pool); |
︙ | |||
1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 | 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 | + + - + + + + | exceptionWithSourcePath: source destinationPath: destination errNo: 0]; # endif objc_autoreleasePoolPop(pool); } #endif - (void)createSymbolicLinkAtURL: (OFURL *)destination withDestinationURL: (OFURL *)source { #ifdef OF_FILE_MANAGER_SUPPORTS_SYMLINKS void *pool = objc_autoreleasePoolPush(); [self createSymbolicLinkAtPath: [destination fileSystemRepresentation] withDestinationPath: [source fileSystemRepresentation]]; objc_autoreleasePoolPop(pool); |
︙ |