MutableFileSystemItem

internal protocol MutableFileSystemItem : FileSystemItem
  • Moves this to another directory. The path is updated with the new location.

    Parameter

    Parameter toDirectory: The directory to move this to.

    Throws

    NSError.

    Declaration

    Swift

    public mutating func move(toDirectory: DirectoryPath) throws

    Parameters

    toDirectory

    The directory to move this to.

  • Moves this to another directory. The path is updated with the new location.

    Parameter

    Parameter toDirectory: The directory to move this to.

    Throws

    NSError.

    Declaration

    Swift

    public mutating func move(toDirectory: String) throws

    Parameters

    toDirectory

    The directory to move this to.