Implemented the "bitBucket" static constant in the URL+Devices public extension.
This commit is contained in:
parent
879b6d6bbd
commit
7fd501f909
18
Sources/Persistence/Extensions/URL+Devices.swift
Normal file
18
Sources/Persistence/Extensions/URL+Devices.swift
Normal file
@ -0,0 +1,18 @@
|
||||
//
|
||||
// URL+Devices.swift
|
||||
// Persistence
|
||||
//
|
||||
// Created by Javier Cicchelli on 17/04/2023.
|
||||
// Copyright © 2023 Röck+Cöde. All rights reserved.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
public extension URL {
|
||||
|
||||
// MARK: Properties
|
||||
|
||||
/// URL to a virtual device in which any data written vanishes or disappear.
|
||||
static let bitBucket = URL(fileURLWithPath: "/dev/null")
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user