Skip to content

Commit

Permalink
Add a bit of information about handler callback methods to comments/d…
Browse files Browse the repository at this point in the history
…ocs.
  • Loading branch information
rfm committed Nov 3, 2024
1 parent 962c169 commit e960277
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
16 changes: 14 additions & 2 deletions Source/NSFileManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -1323,10 +1323,17 @@ - (NSString*) currentDirectoryPath

/**
* Copies the file or directory at source to destination, using a
* handler object which should respond to
* handler object which may respond to
* [NSObject(NSFileManagerHandler)-fileManager:willProcessPath:] and
* [NSObject(NSFileManagerHandler)-fileManager:shouldProceedAfterError:]
* messages.<br />
* If the handler responds to the first message, it is used to inform the
* handler when an item is about to be copied. If the handler responds
* to the second message, it is used to ask the handler whether to
* continue with the copy after an error (when there is no handler the
* processing stops at the point when an error occurs).<br />
* Symbolic links are copied themselved rather than causing the items
* they link to be copied.<br />
* Will not copy to a destination which already exists.
*/
- (BOOL) copyPath: (NSString*)source
Expand Down Expand Up @@ -1460,7 +1467,12 @@ - (BOOL) copyItemAtURL: (NSURL*)src
* handler object which should respond to
* [NSObject(NSFileManagerHandler)-fileManager:willProcessPath:] and
* [NSObject(NSFileManagerHandler)-fileManager:shouldProceedAfterError:]
* messages.
* messages.<br />
* If the handler responds to the first message, it is used to inform the
* handler when an item is about to be moved. If the handler responds
* to the second message, it is used to ask the handler whether to
* continue with the move after an error (when there is no handler the
* processing stops at the point when an error occurs).<br />
* Will not move to a destination which already exists.<br />
*/
- (BOOL) movePath: (NSString*)source
Expand Down
2 changes: 1 addition & 1 deletion Version
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ MAJOR_VERSION=1
MINOR_VERSION=30
SUBMINOR_VERSION=0
# numeric value should match above
VERSION_NUMBER=129.0
VERSION_NUMBER=130.0
GNUSTEP_BASE_VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${SUBMINOR_VERSION}
VERSION=${GNUSTEP_BASE_VERSION}

Expand Down

0 comments on commit e960277

Please sign in to comment.