ObjFW  Diff

Differences From Artifact [cba586493b]:

To Artifact [3fce9a9007]:


507
508
509
510
511
512
513
514

515
516

517
518
519
520


521
522
523
524
525
526
527
528
529
530
531
532
533
534

535
536

537
538
539
540


541
542
543
544
545
546
547
507
508
509
510
511
512
513

514


515

516


517
518
519
520
521
522
523
524
525
526
527
528
529
530
531

532


533

534


535
536
537
538
539
540
541
542
543







-
+
-
-
+
-

-
-
+
+













-
+
-
-
+
-

-
-
+
+







 * name of the item.
 *
 * This method is not available on some systems.
 *
 * @note On Windows, this requires at least Windows Vista and administrator
 *	 privileges!
 *
 * @param destination The path to the item which should symbolically link to the
 * @param path The path to the item which should symbolically link to the target
 *		      source
 * @param source The path to the item for which a symbolic link should be
 * @param target The target of the symbolic link
 *		 created
 */
- (void)createSymbolicLinkAtPath: (OFString *)destination
	     withDestinationPath: (OFString *)source;
- (void)createSymbolicLinkAtPath: (OFString *)path
	     withDestinationPath: (OFString *)target;
#endif

/*!
 * @brief Creates a symbolic link for an item.
 *
 * The destination uRL must have a full path, which means it must include the
 * name of the item.
 *
 * This method is not available for all URLs.
 *
 * @note On Windows, this requires at least Windows Vista and administrator
 *	 privileges!
 *
 * @param destination The URL to the item which should symbolically link to the
 * @param URL The URL to the item which should symbolically link to the target
 *		      source
 * @param source The path to the item for which a symbolic link should be
 * @param target The target of the symbolic link
 *		 created
 */
- (void)createSymbolicLinkAtURL: (OFURL *)destination
	    withDestinationPath: (OFString *)source;
- (void)createSymbolicLinkAtURL: (OFURL *)URL
	    withDestinationPath: (OFString *)target;
@end

@interface OFDictionary (FileAttributes)
/*!
 * The @ref of_file_attribute_key_size key from the dictionary.
 *
 * Raises an @ref OFUndefinedKeyException if the key is missing.