Revision: 29936
          http://sourceforge.net/p/bibdesk/svn/29936
Author:   hofman
Date:     2025-12-02 17:29:03 +0000 (Tue, 02 Dec 2025)
Log Message:
-----------
change help description, add generics

Modified Paths:
--------------
    trunk/bibdesk/BDSKFiler.h
    trunk/bibdesk/BDSKFiler.m

Modified: trunk/bibdesk/BDSKFiler.h
===================================================================
--- trunk/bibdesk/BDSKFiler.h   2025-12-02 16:44:29 UTC (rev 29935)
+++ trunk/bibdesk/BDSKFiler.h   2025-12-02 17:29:03 UTC (rev 29936)
@@ -128,15 +128,15 @@
 - (void)movePapers:(NSArray<NSDictionary<NSString *, id> *> *)paperInfos 
forField:(NSString *)field fromDocument:(BibDocument *)doc 
options:(BDSKFilerOptions)options actionName:(nullable NSString *)actionName;
 
 /*!
-       @method         moveItemAtURL:toURL:force:error:
-       @abstract       Extension to movePath:toPath:handler: which can handle 
symlinks and aliases, and allows for forcing a move when otherwise move errors 
occur.
+       @method         moveItemAtURL:toURL:ignoring:errorInfo:
+       @abstract       Extension to -[NSFileManager 
moveItemAtURL:toURL:error:] which can handle symlinks and aliases, and allows 
for forcing a move when otherwise move errors occur.
        @param          fileURL The URL to the file to move.
        @param          newFileURL The URL where the file should move to.
-       @param          ignoredFlag Ignore potential errors that may occur 
forcing the move.
+       @param          ignoredError Ignore potential errors that may occur 
forcing the move.
        @param          errorInfo A dictionary containing information about the 
problem.
        @discussion -
 */
-- (BOOL)moveItemAtURL:(NSURL *)fileURL toURL:(NSURL *)newFileURL 
ignoring:(BDSKFilerError)ignoredError  errorInfo:(NSDictionary * _Nullable * 
_Nullable)errorInfo;
+- (BOOL)moveItemAtURL:(NSURL *)fileURL toURL:(NSURL *)newFileURL 
ignoring:(BDSKFilerError)ignoredError errorInfo:(NSDictionary<NSString *, id> * 
_Nullable * _Nullable)errorInfo;
 
 @end
 

Modified: trunk/bibdesk/BDSKFiler.m
===================================================================
--- trunk/bibdesk/BDSKFiler.m   2025-12-02 16:44:29 UTC (rev 29935)
+++ trunk/bibdesk/BDSKFiler.m   2025-12-02 17:29:03 UTC (rev 29936)
@@ -347,7 +347,7 @@
 
 #define BDSKFilerErrorFileResolution (1 << 9)
 
-- (BOOL)moveItemAtURL:(NSURL *)fileURL toURL:(NSURL *)newFileURL 
ignoring:(BDSKFilerError)ignoredError errorInfo:(NSDictionary **)errorInfo{
+- (BOOL)moveItemAtURL:(NSURL *)fileURL toURL:(NSURL *)newFileURL 
ignoring:(BDSKFilerError)ignoredError errorInfo:(NSDictionary<NSString *, id> 
**)errorInfo{
     NSFileManager *fm = [NSFileManager defaultManager];
     NSURL *resolvedURL = nil;
     NSURL *resolvedNewURL = nil;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to