@hashgraph/solo
Version:
An opinionated CLI tool to deploy and manage private Hedera Networks.
17 lines (16 loc) • 750 B
TypeScript
import { type CacheCatalogStore } from '../api/cache-catalog-store.js';
import { type CacheCatalog } from '../models/impl/cache-catalog.js';
import { type CacheTarget } from '../models/impl/cache-target.js';
import { CacheArtifactEnum } from '../enums/cache-artifact-enum.js';
export declare class FileSystemCacheCatalogStore implements CacheCatalogStore {
private readonly basePath;
private readonly catalogFileName;
private readonly baseDirectory;
constructor(basePath: string);
save(catalog: CacheCatalog): Promise<void>;
load(): Promise<CacheCatalog>;
exists(): Promise<boolean>;
clear(): Promise<void>;
resolvePath(target: CacheTarget, directoryPath: CacheArtifactEnum): string;
private getCatalogPath;
}