This page contains Windows bias

About This Page

This page is part of the Azure documentation. It contains code examples and configuration instructions for working with Azure services.

Bias Analysis

Bias Types:
⚠️ windows_first
⚠️ missing_linux_example
Summary:
The documentation exhibits a subtle Windows bias by using Windows-style file paths (e.g., 'C:/path/to/directory') in all code examples and never showing Linux/macOS equivalents. There are no explicit Linux or cross-platform file path examples, and no mention of platform-specific considerations for file paths or shell commands. While the Data Movement library itself is cross-platform, the documentation implicitly prioritizes Windows conventions, which may confuse or alienate Linux/macOS users.
Recommendations:
  • Provide file path examples using both Windows (e.g., 'C:/path/to/directory') and Linux/macOS (e.g., '/home/user/path/to/directory') formats in code samples.
  • Explicitly state that the Data Movement library and its CLI commands are cross-platform, and clarify any platform-specific behaviors or requirements.
  • Where shell commands are shown (e.g., 'dotnet add package'), mention that these work on all supported platforms, and note any differences if they exist.
  • Add a section or note about handling file paths in a cross-platform way in .NET (e.g., using Path.Combine or Path.DirectorySeparatorChar).
  • Review all examples and documentation text to ensure that Linux/macOS users are equally represented and that no assumptions are made about the user's operating system.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-09-10 00:00 #107 completed ✅ Clean
2025-09-09 00:00 #106 completed ✅ Clean
2025-09-08 00:00 #105 completed ✅ Clean
2025-09-07 00:00 #104 completed ✅ Clean
2025-09-06 00:00 #103 completed ✅ Clean
2025-09-05 00:00 #102 completed ✅ Clean
2025-09-04 00:00 #101 completed ✅ Clean
2025-09-03 00:00 #100 completed ✅ Clean
2025-08-29 00:01 #95 completed ✅ Clean
2025-08-22 00:01 #88 completed ✅ Clean
2025-08-20 00:01 #86 completed ✅ Clean
2025-08-19 00:01 #85 completed ✅ Clean
2025-08-11 00:00 #77 completed ✅ Clean
2025-08-10 00:00 #76 completed ✅ Clean
2025-08-09 00:00 #75 completed ✅ Clean
2025-08-08 00:00 #74 completed ✅ Clean
2025-08-07 00:00 #73 completed ✅ Clean
2025-08-06 00:00 #72 completed ✅ Clean
2025-08-05 00:00 #71 completed ✅ Clean
2025-08-03 00:00 #69 completed ✅ Clean
2025-08-01 00:00 #67 completed ✅ Clean
2025-07-31 00:00 #66 completed ✅ Clean
2025-07-30 00:00 #65 completed ✅ Clean
2025-07-29 00:01 #64 completed ✅ Clean
2025-07-28 00:00 #63 completed ✅ Clean
2025-07-27 00:00 #62 completed ✅ Clean
2025-07-26 00:01 #61 completed ✅ Clean
2025-07-25 00:00 #60 completed ✅ Clean
2025-07-13 21:37 #48 completed ❌ Biased
2025-07-12 23:44 #41 in_progress ❌ Biased

Flagged Code Snippets

using Azure.Storage.DataMovement.Files.Shares;
// Create a token credential TokenCredential tokenCredential = new DefaultAzureCredential(); TransferManager transferManager = new(new TransferManagerOptions()); BlobsStorageResourceProvider blobsProvider = new(tokenCredential); string localDirectoryPath = "C:/path/to/directory"; Uri blobContainerUri = new Uri("https://<storage-account-name>.blob.core.windows.net/sample-container"); TransferOperation transferOperation = await transferManager.StartTransferAsync( sourceResource: LocalFilesStorageResourceProvider.FromDirectory(localDirectoryPath), destinationResource: await blobsProvider.FromContainerAsync(blobContainerUri)); await transferOperation.WaitForCompletionAsync();