Documented the String+Constants extension in the library target.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
extension String {
|
||||
/// A representation of an empty string.
|
||||
static let empty = ""
|
||||
/// A representation of a string containing solely a forwarding slash.
|
||||
static let forwardSlash = "/"
|
||||
/// A representation of a string that identifies a previous folder in a path component.
|
||||
static let previousFolder = ".."
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
/// A type that can provide a relative path representation.
|
||||
/// A protocol that provides a relative path representation.
|
||||
protocol Pathable {
|
||||
|
||||
// MARK: Properties
|
||||
|
||||
Reference in New Issue
Block a user