You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
309 B
15 lines
309 B
//
|
|
// FileOperator.swift
|
|
// Notes
|
|
//
|
|
// Created by Laurent Morvillier on 16/09/2022.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
protocol FileOperator {
|
|
func requestStorage(filename: String, content: String)
|
|
func getContent(filename: String) throws -> String?
|
|
func lastEditDate(filename: String) throws -> Date?
|
|
}
|
|
|
|
|