mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 22:04:21 +01:00
* move swift examples * swift workflow * fixup * rewirte gettingStarted * add README for swift * update fiat examples and addresss feedback
17 lines
383 B
Swift
17 lines
383 B
Swift
//
|
|
// StaticChannelBackup.swift
|
|
// BreezSDKDocs
|
|
//
|
|
// Created by ruben on 14/11/2023.
|
|
//
|
|
|
|
import Foundation
|
|
import BreezSDK
|
|
|
|
func retrieveBackupFiles() -> StaticBackupResponse? {
|
|
// ANCHOR: static-channel-backup
|
|
let backupData = try? staticBackup(req:StaticBackupRequest(workingDir: "<working directory>"))
|
|
// ANCHOR_END: static-channel-backup
|
|
return backupData
|
|
}
|