Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 1.8 KB

File metadata and controls

33 lines (20 loc) · 1.8 KB

VFSSafeExtensions.TryMoveFile(this IVirtualFileSystem, string, string) Method

Safely moves a file without throwing exceptions.

public static bool TryMoveFile(this Atypical.VirtualFileSystem.Core.Contracts.IVirtualFileSystem vfs, string sourceFilePath, string destinationFilePath);

Parameters

vfs IVirtualFileSystem

The virtual file system.

sourceFilePath System.String

The source file path as a string.

destinationFilePath System.String

The destination file path as a string.

Returns

System.Boolean
True if the file was moved successfully, false otherwise.