Safely creates a file and automatically creates any missing parent directories.
public static bool TryCreateFileWithDirectories(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 and directories were created successfully, false otherwise.