UNPKG

apple-hig-mcp

Version:

High-performance MCP server providing instant access to Apple's Human Interface Guidelines via hybrid static/dynamic content delivery

23 lines 839 B
/** * File System Service Implementation * Single Responsibility: Handle all file system operations */ import type { IFileSystemService } from '../interfaces/content-interfaces.js'; export declare class FileSystemService implements IFileSystemService { writeFile(filePath: string, content: string): Promise<void>; readFile(filePath: string): Promise<string>; mkdir(dirPath: string, options?: { recursive: boolean; }): Promise<void>; readdir(dirPath: string): Promise<string[]>; exists(filePath: string): Promise<boolean>; stat(filePath: string): Promise<{ size: number; isDirectory(): boolean; }>; /** * Calculate total size of directory recursively */ calculateDirectorySize(dirPath: string): Promise<number>; } //# sourceMappingURL=file-system.service.d.ts.map