Files

Frends.Files.Rename / 1.2.0

Summary

Changes a file's name in place, leaving it in the same directory.

Typical use — marking a file as claimed or processed without moving it elsewhere

Details

Frends version
5.7 and newer
Agent
Crossplatform
Target framework
net8.0
1.2.02026-10-09
Changed
  • The Task now targets .NET 8.
  • Task now requires a cancellation token and its result now includes Success and Error properties.
Added
  • New options ThrowErrorOnFailure and ErrorMessageOnFailure for controlling how failures are reported. By default errors are still thrown.
1.1.02025-03-19
Changed
  • Update packages Microsoft.Extensions.FileSystemGlobbing 7.0.0 -> 9.0.3 System.ComponentModel.Annotations 4.7.0 -> 5.0.0 System.DirectoryServices 7.0.0 -> 8.0.0 coverlet.collector 3.1.0 -> 6.0.4 Microsoft.NET.Test.Sdk 16.6.1 -> 17.13.0 MSTest.TestAdapter 2.2.7 -> 3.8.3 MSTest.TestFramework 2.2.8 -> 3.8.3 nunit 3.12.0 -> 4.3.2 NUnit3TestAdapter 3.17.0 -> 5.0.0
1.0.02023-03-10
Added
  • Initial implementation
An unhandled error has occurred. Reload 🗙