public FileSystem(IVirtualFileSystem vfs) { this.vfs = vfs; var localDataPath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData); vfs.MountDirectory("~", Path.Join(localDataPath, APPLICATION_FOLDER, TryGetProfile())); }
public void TestMount() { Assert.Throws <ArgumentException>(() => vfs.MountDirectory(" ", "/")); }