Safely creates a file without throwing exceptions.
public static bool TryCreateFile(this Atypical.VirtualFileSystem.Core.Contracts.IVirtualFileSystem vfs, string filePath, string? content=null);The virtual file system.
filePath System.String
The file path as a string.
content System.String
The file content.
System.Boolean
True if the file was created successfully, false otherwise.