IVFSDelete.md

June 4, 2025 · View on GitHub

Atypical.VirtualFileSystem.Core

Atypical.VirtualFileSystem.Core.Contracts

IVFSDelete Interface

Represents the deletion operations of the virtual file system.

public interface IVFSDelete

Derived
IVirtualFileSystem
VFS

Methods
DeleteDirectory(VFSDirectoryPath)Deletes a directory node at the specified path. The path must be absolute.
DeleteFile(VFSFilePath)Deletes a file node at the specified path. The path must be absolute.
Events
DirectoryDeletedEvent triggered when a directory is deleted.
FileDeletedEvent triggered when a file is deleted.