Skip to content

Commit

Permalink
Merge pull request JohnSundell#77 from JohnSundell/remove-deprecated-api
Browse files Browse the repository at this point in the history
Remove deprecated ‘creatingSubfolderFailed’ API
  • Loading branch information
JohnSundell authored Mar 13, 2019
2 parents 073242f + 25379da commit a84615f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Sources/Files.swift
Original file line number Diff line number Diff line change
Expand Up @@ -593,16 +593,11 @@ public final class Folder: FileSystem.Item, FileSystemIterable {
/// Thrown when a folder couldn't be created
case creatingFolderFailed

@available(*, deprecated: 1.4.0, renamed: "creatingFolderFailed")
case creatingSubfolderFailed

/// A string describing the error
public var description: String {
switch self {
case .creatingFolderFailed:
return "Failed to create folder"
case .creatingSubfolderFailed:
return "Failed to create subfolder"
}
}
}
Expand Down

0 comments on commit a84615f

Please sign in to comment.