DRFile(VirtualLinks) Class Reference

Declared in

Overview

This category on DRFile defines methods that allow various link/alias files to be created on the resulting disc which may not exist in the source.

Tasks

Miscellaneous

Class Methods

finderAliasPointingTo:inFilesystem:

Creates a Finder alias to another file on the output disc.

+ (DRFile*) finderAliasPointingTo:(DRFSObject*)original inFilesystem:(NSString*)filesystem;
Parameters
original

The file to point he hard link to

filesystem

The filesystem this link will exist on.

Return Value

An autoreleased DRFile object.

hardLinkPointingTo:inFilesystem:

Creates a hard link to another file on the output disc.

+ (DRFile*) hardLinkPointingTo:(DRFile*)original inFilesystem:(NSString*)filesystem;
Parameters
original

The file to point he hard link to

filesystem

The filesystem this link will exist on.

Return Value

An autoreleased DRFile object.

symLinkPointingTo:inFilesystem:

Creates a symbolic link to another file on the output disc.

+ (DRFile*) symLinkPointingTo:(DRFSObject*)original inFilesystem:(NSString*)filesystem;
Parameters
original

The file to point he hard link to

filesystem

The filesystem this link will exist on.

Return Value

An autoreleased DRFile object.

Instance Methods

initWithLinkType:pointingTo:inFilesystem:

Initializes a file object to point to another file on the output disc.

- (id) initWithLinkType:(NSString*)linkType pointingTo:(DRFSObject*)original inFilesystem:(NSString*)filesystem;
Parameters
linkType

The type of link that will be created.

original

The file to point he hard link to

filesystem

The filesystem this link will exist on.

Return Value

A DRFile object.