Static Methodswift-transformers 0.1.17Hub
snapshot(from:matching:progressHandler:)
HubApi.swift:361static func snapshot(from repo: Repo, matching glob: String, progressHandler: @escaping (Progress) -> Void = { _ in }) async throws -> URL
static func snapshot(from repo: Repo, matching glob: String, progressHandler: @escaping (Progress) -> Void = { _ in }) async throws -> URL
s3HubAAV8snapshot4from8matching15progressHandler10Foundation3URLVAB4RepoV_SSySo10NSProgressCctYaKFZ
What are these?4GRPZ
import Hub
struct Hub
struct Repo
@frozen struct String
A Unicode string value that is a collection of characters.
typealias Void = ()
The return type of functions that don’t explicitly specify a return type, that is, an empty tuple ()
.
static func getFileMetadata(fileURL: URL) async throws -> HubApi.FileMetadata
static func getFileMetadata(from repo: Repo, matching glob: String) async throws -> [HubApi.FileMetadata]
static func getFileMetadata(from repo: Repo, matching globs: [String] = []) async throws -> [HubApi.FileMetadata]
static func getFileMetadata(from repoId: String, matching glob: String) async throws -> [HubApi.FileMetadata]
static func getFileMetadata(from repoId: String, matching globs: [String] = []) async throws -> [HubApi.FileMetadata]
static func getFilenames(from repo: Hub.Repo, matching globs: [String] = []) async throws -> [String]
static func getFilenames(from repo: Repo, matching glob: String) async throws -> [String]
static func getFilenames(from repoId: String, matching globs: [String] = []) async throws -> [String]
static func getFilenames(from repoId: String, matching glob: String) async throws -> [String]
static func snapshot(from repo: Repo, matching globs: [String] = [], progressHandler: @escaping (Progress) -> Void = { _ in }) async throws -> URL
static func snapshot(from repoId: String, matching glob: String, progressHandler: @escaping (Progress) -> Void = { _ in }) async throws -> URL
static func snapshot(from repoId: String, matching globs: [String] = [], progressHandler: @escaping (Progress) -> Void = { _ in }) async throws -> URL
static func whoami(token: String) async throws -> Config
enum HubClientError
enum RepoType