Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor Get-FileInformation function and improve readability
The Get-FileInformation function has been refactored to improve readability and maintainability. The code has been updated to use the -LiteralPath parameter instead of $File for consistency and clarity. The code now returns a custom object with Name, FullName, Size, IsReadOnly, and LastWriteTime properties, making it easier to work with the file information. This change simplifies the code and enhances its overall usability. No newline character at the end of file.
- Loading branch information