This document summarizes the file-system APIs Tuist uses today. The project relies on the tuist/FileSystem package (see Package.swift, product FileSystem, version 0.11.x) with its FileSysteming protocol and default FileSystem implementation. Tests use FileSystemTesting, and some code handles _NIOFileSystem.FileSystemError.
FileSysteming: async interface for path operations; default instance isFileSystem().- Paths:
AbsolutePath/RelativePath(from thePathpackage) are passed to all APIs. - Testing utilities:
FileSystem.temporaryTestDirectory,FileSystemTestingtraits for temporary dirs and assertions. - Legacy helpers: a few spots still use
FileHandler.shared(pre-FileSystem utility) for sync operations likeisFolder,contentsOfDirectory,readTextFile,touch,createFolder, and file-size checks;_NIOFileSystem.FileSystemErroris also surfaced in manifest cache logic.