SwiftenumMLKit
enum MLKit.DiskSize
Members 6
- func
static fileSizeInBytes(of: Foundation.URL) -> Int64? - func
static fileSizeInGB(url: Foundation.URL) -> Double - func
static fileSizeInMB(url: Foundation.URL) -> Double - func
static folderSizeInBytes(of: Foundation.URL?) throws -> Int64? - func
static formattedSize(of: Foundation.URL) -> String - func
static sizeInBytes(of: Foundation.URL) -> Int64?
Header
enum DiskSize { static func fileSizeInGB(url: Foundation.URL) -> Swift.Double static func fileSizeInMB(url: Foundation.URL) -> Swift.Double static func fileSizeInBytes(of: Foundation.URL) -> Swift.Int64? static func folderSizeInBytes(of: Foundation.URL?) throws -> Swift.Int64? static func formattedSize(of: Foundation.URL) -> Swift.String static func sizeInBytes(of: Foundation.URL) -> Swift.Int64? }