Azure / azure-sdk-for-net

This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
MIT License
5.35k stars 4.66k forks source link

DataLake: incomplete documentation for CreateIfNotExistsAsync #42397

Open Arithmomaniac opened 7 months ago

Arithmomaniac commented 7 months ago

Type of issue

Missing information

Description

The documentation for DataLakePathClient and its overloads and child classes do not mention that CreateIfNotExistsAsync returns null if the path already exists (as opposed to the existing path). See https://github.com/Azure/azure-sdk-for-net/issues/21729

Page URL

https://learn.microsoft.com/en-us/dotnet/api/azure.storage.files.datalake.datalakepathclient.createifnotexistsasync?view=azure-dotnet#azure-storage-files-datalake-datalakepathclient-createifnotexistsasync(azure-storage-files-datalake-models-pathresourcetype-azure-storage-files-datalake-models-datalakepathcreateoptions-system-threading-cancellationtoken)

Content source URL

https://github.com/Azure/azure-docs-sdk-dotnet/blob/master/xml/Azure.Storage.Files.DataLake/DataLakePathClient.xml

Document Version Independent Id

278548b3-9b9a-5cd6-648f-6159da209f5e

Article author

@azure-sdk

Metadata

github-actions[bot] commented 7 months ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @sumantmehtams.