Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions ControlRoom/Controllers/Snapshot.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,4 @@ struct Snapshot: Equatable, Hashable, Identifiable {
static func == (lhs: Snapshot, rhs: Snapshot) -> Bool {
lhs.id == rhs.id
}

init(id: String, creationDate: Date, size: Int) {
self.id = id
self.creationDate = creationDate
self.size = size
}
}
6 changes: 3 additions & 3 deletions ControlRoom/Helpers/URLFileAttribute.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
import Foundation

struct URLFileAttribute {
private(set) var folderSize: Int? = nil
private(set) var creationDate: Date? = nil
private(set) var modificationDate: Date? = nil
private(set) var folderSize: Int?
private(set) var creationDate: Date?
private(set) var modificationDate: Date?

init(url: URL) {
let path = url.path
Expand Down