@@ -262,12 +262,12 @@ if (rename([from cString], [to cString])) #else if (!MoveFile([from cString], [to cString])) #endif @throw [OFRenameFileFailedException newWithClass: self - from: from - to: to]; + sourcePath: from + destinationPath: to]; } + (void)deleteFileAtPath: (OFString*)path { #ifndef _WIN32 @@ -283,21 +283,21 @@ + (void)linkFileAtPath: (OFString*)src toPath: (OFString*)dest { if (link([src cString], [dest cString]) != 0) @throw [OFLinkFailedException newWithClass: self - source: src - destination: dest]; + sourcePath: src + destinationPath: dest]; } + (void)symlinkFileAtPath: (OFString*)src toPath: (OFString*)dest { if (symlink([src cString], [dest cString]) != 0) @throw [OFSymlinkFailedException newWithClass: self - source: src - destination: dest]; + sourcePath: src + destinationPath: dest]; } #endif - init {