Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 2.21 KB

File metadata and controls

27 lines (17 loc) · 2.21 KB

VFSBulkExtensions.TryDeleteFiles(this IVirtualFileSystem, IEnumerable<string>) Method

Safely deletes multiple files without throwing exceptions.

public static System.Collections.Generic.IEnumerable<string> TryDeleteFiles(this Atypical.VirtualFileSystem.Core.Contracts.IVirtualFileSystem vfs, System.Collections.Generic.IEnumerable<string> filePaths);

Parameters

vfs IVirtualFileSystem

The virtual file system.

filePaths System.Collections.Generic.IEnumerable<System.String>

Collection of file paths to delete.

Returns

System.Collections.Generic.IEnumerable<System.String>
Collection of successfully deleted file paths.