Overview
Comment: | Add +[OFFile moveItemAtPath:toPath:].
This replaces +[OFFile renameItemAtPath:toPath:] and supports moving |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
260391fc1c3035233c4270f267ad273e |
User & Date: | js on 2013-12-11 23:53:07 |
Other Links: | manifest | tags |
Context
2013-12-14
| ||
02:21 | Don't enter src/runtime/lookup-asm twice. check-in: f9693f45f3 user: js tags: trunk | |
2013-12-11
| ||
23:53 | Add +[OFFile moveItemAtPath:toPath:]. check-in: 260391fc1c user: js tags: trunk | |
22:26 | +[{copy,rename}ItemAtPath...]: Require full path. check-in: 242fd56445 user: js tags: trunk | |
Changes
Modified src/OFFile.h from [78bb0798b0] to [00385e02ec].
︙ | |||
190 191 192 193 194 195 196 | 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 | - + + + + + - - + + | * @param source The file, directory or symlink to copy * @param destination The destination path */ + (void)copyItemAtPath: (OFString*)source toPath: (OFString*)destination; /*! |
︙ |
Modified src/OFFile.m from [726f0b6ba9] to [95c6f11fb5].
︙ | |||
63 64 65 66 67 68 69 70 71 72 73 | 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | + - | #import "OFCopyItemFailedException.h" #import "OFCreateDirectoryFailedException.h" #import "OFCreateSymbolicLinkFailedException.h" #import "OFInitializationFailedException.h" #import "OFInvalidArgumentException.h" #import "OFLinkFailedException.h" #import "OFLockFailedException.h" #import "OFMoveItemFailedException.h" #import "OFOpenFileFailedException.h" #import "OFOutOfMemoryException.h" #import "OFReadFailedException.h" #import "OFRemoveItemFailedException.h" |
︙ | |||
661 662 663 664 665 666 667 | 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 | - - + + + + + + + + + + + + + + + + + + + - + - + + - - - + + + + + + + + + + + + + + + + + + + + + + | @throw [OFCopyItemFailedException exceptionWithSourcePath: source destinationPath: destination]; objc_autoreleasePoolPop(pool); } |
︙ |
Modified src/exceptions/Makefile from [8ebf1a51cc] to [7d7ccc279a].
︙ | |||
20 21 22 23 24 25 26 27 28 29 30 31 32 33 | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | + - | OFInvalidFormatException.m \ OFInvalidJSONException.m \ OFInvalidServerReplyException.m \ OFLinkFailedException.m \ OFLockFailedException.m \ OFMalformedXMLException.m \ OFMemoryNotPartOfObjectException.m \ OFMoveItemFailedException.m \ OFNotImplementedException.m \ OFOpenFileFailedException.m \ OFOutOfMemoryException.m \ OFOutOfRangeException.m \ OFReadFailedException.m \ OFReadOrWriteFailedException.m \ OFRemoveItemFailedException.m \ |
︙ |
Added src/exceptions/OFMoveItemFailedException.h version [a4f8b8376a].
|
Added src/exceptions/OFMoveItemFailedException.m version [e630c0adf7].