VFSConvenienceExtensions.FileExists(thisIVirtualFileSystem,string).md
January 20, 2026 ยท View on GitHub
Atypical.VirtualFileSystem.Core
Atypical.VirtualFileSystem.Core.Extensions.VFSConvenienceExtensions
VFSConvenienceExtensions.FileExists(this IVirtualFileSystem, string) Method
Checks if a file exists at the specified path.
public static bool FileExists(this Atypical.VirtualFileSystem.Core.Contracts.IVirtualFileSystem vfs, string filePath);
Parameters
The virtual file system.
filePath System.String
The file path as a string.
Returns
System.Boolean
True if the file exists, false otherwise.