This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Created by Nikolai Ruhe on 2016-02-10. | |
// Copyright (c) 2016 Nikolai Ruhe. All rights reserved. | |
// updated for Swift 3, Tyler Arnold 2017-04-25 | |
// | |
import Foundation | |
extension FileManager { | |
func allocatedSizeOfDirectoryAtURL(directoryURL: URL) throws -> UInt64 { |