UNPKG

netstorage

Version:

A TypeScript API and CLI for the Akamai NetStorage REST interface

10 lines (9 loc) 660 B
import { type NetStorageClientConfig, type SyncFileParams, type SyncResult } from '../../index'; /** * Synchronizes a single local file with a remote NetStorage path. * * @param config - The NetStorage client config. * @param params - Configuration options for the sync operation. * @returns A SyncResult summarizing transferred, skipped, and deleted files. */ export declare function syncFile(config: NetStorageClientConfig, { localPath, remotePath, dryRun, conflictRules, remoteFileMeta, compareStrategy, syncDirection, conflictResolution, deleteExtraneous: deleteExtraneousParam, onTransfer, onSkip, onDelete, }: SyncFileParams): Promise<SyncResult>;