Files
Termind/TFM/Application/Repositories/SSHImportReading.swift
T

10 lines
385 B
Swift

import Foundation
import TermindDomain
nonisolated protocol SSHImportReading: Sendable {
func scan(root: URL, knownHostsOnly: Bool, grants: [URL]) async throws -> [SSHImportItem]
func unlock(id: UUID, name: String, passphrase: String) async throws -> SSHKeyRef
func credentials(for ids: Set<UUID>) async throws -> [UUID: StoredSSHKeyCredential]
func discard() async
}