Standardizes boolean naming across the stack

This commit is contained in:
BinaryAlley committed 2026-09-26 10:12:12 +03:00
1 parent 6bd0cf6d42
commit 37dff6039d
78 files changed
+252 -252

No files matched your search

@@ -17,9 +17,9 @@ public interface IDirectoryProviderService
/// Retrieves a list of subdirectory paths from the specified path.
/// </summary>
/// <param name="path">The path from which to retrieve the subdirectory paths.</param>
/// <param name="includeHiddenElements">Whether to include hidden subdirectories or not.</param>
/// <param name="shouldIncludeHiddenElements">Whether to include hidden subdirectories or not.</param>
/// <returns>An <see cref="Result{TValue}"/> containing either a collection of directory paths or an error.</returns>
Result<IEnumerable<FileSystemPathId>> GetSubdirectoryPaths(FileSystemPathId path, bool includeHiddenElements);
Result<IEnumerable<FileSystemPathId>> GetSubdirectoryPaths(FileSystemPathId path, bool shouldIncludeHiddenElements);
/// <summary>
/// Checks if a directory with the specified path exists.
@@ -63,18 +63,18 @@ public interface IDirectoryProviderService
/// </summary>
/// <param name="sourcePath">Identifier for the path where the directory to be copied is located.</param>
/// <param name="destinationPath">Identifier for the path where the directory will be copied.</param>
/// <param name="overrideExisting">Whether to override existing directories, or not.</param>
/// <param name="shouldOverrideExisting">Whether to override existing directories, or not.</param>
/// <returns>An <see cref="Result{TValue}"/> containing either the copied directory, or an error.</returns>
Result<FileSystemPathId> CopyDirectory(FileSystemPathId sourcePath, FileSystemPathId destinationPath, bool overrideExisting);
Result<FileSystemPathId> CopyDirectory(FileSystemPathId sourcePath, FileSystemPathId destinationPath, bool shouldOverrideExisting);
/// <summary>
/// Moves a directory located at <paramref name="sourcePath"/> to <paramref name="destinationPath"/>.
/// </summary>
/// <param name="sourcePath">Identifier for the path where the directory to be moved is located.</param>
/// <param name="destinationPath">Identifier for the path where the directory will be moved.</param>
/// <param name="overrideExisting">Whether to override existing directories, or not.</param>
/// <param name="shouldOverrideExisting">Whether to override existing directories, or not.</param>
/// <returns>An <see cref="Result{TValue}"/> containing either a moved directory, or an error.</returns>
Result<FileSystemPathId> MoveDirectory(FileSystemPathId sourcePath, FileSystemPathId destinationPath, bool overrideExisting);
Result<FileSystemPathId> MoveDirectory(FileSystemPathId sourcePath, FileSystemPathId destinationPath, bool shouldOverrideExisting);
/// <summary>
/// Renames a directory at the specified path.
@@ -17,9 +17,9 @@ public interface IFileProviderService
/// Retrieves a list of files at the specified path.
/// </summary>
/// <param name="path">The path for which to retrieve the list of files.</param>
/// <param name="includeHiddenElements">Whether to include hidden files or not.</param>
/// <param name="shouldIncludeHiddenElements">Whether to include hidden files or not.</param>
/// <returns>An <see cref="Result{TValue}"/> containing either a collection of file paths, or an error.</returns>
Result<IEnumerable<FileSystemPathId>> GetFilePaths(FileSystemPathId path, bool includeHiddenElements);
Result<IEnumerable<FileSystemPathId>> GetFilePaths(FileSystemPathId path, bool shouldIncludeHiddenElements);
/// <summary>
/// Retrieves the contents of a file at the specified path.
@@ -68,18 +68,18 @@ public interface IFileProviderService
/// </summary>
/// <param name="sourceFilePath">Identifier for the path where the file to be copied is located.</param>
/// <param name="destinationDirectoryPath">Identifier for the path of the directory where the file will be copied.</param>
/// <param name="overrideExisting">Whether to override existing files, or not.</param>
/// <param name="shouldOverrideExisting">Whether to override existing files, or not.</param>
/// <returns>An <see cref="Result{TValue}"/> containing either the copied file, or an error.</returns>
Result<FileSystemPathId> CopyFile(FileSystemPathId sourceFilePath, FileSystemPathId destinationDirectoryPath, bool overrideExisting);
Result<FileSystemPathId> CopyFile(FileSystemPathId sourceFilePath, FileSystemPathId destinationDirectoryPath, bool shouldOverrideExisting);
/// <summary>
/// Moves a file located at <paramref name="sourceFilePath"/> to <paramref name="destinationDirectoryPath"/>.
/// </summary>
/// <param name="sourceFilePath">Identifier for the path where the file to be moved is located.</param>
/// <param name="destinationDirectoryPath">Identifier for the path of the directory where the file will be moved.</param>
/// <param name="overrideExisting">Whether to override existing files, or not.</param>
/// <param name="shouldOverrideExisting">Whether to override existing files, or not.</param>
/// <returns>An <see cref="Result{TValue}"/> containing either a moved file, or an error.</returns>
Result<FileSystemPathId> MoveFile(FileSystemPathId sourceFilePath, FileSystemPathId destinationDirectoryPath, bool overrideExisting);
Result<FileSystemPathId> MoveFile(FileSystemPathId sourceFilePath, FileSystemPathId destinationDirectoryPath, bool shouldOverrideExisting);
/// <summary>
/// Renames a file at the specified path.