This repository is for active development of the Azure SDK for C++. For consumers of the SDK we recommend visiting our versioned developer docs at https://azure.github.io/azure-sdk-for-cpp.
MIT License
181
stars
126
forks
source link
Review and clean-up the headers publicly accessible in Azure::Data::Tables that don't need to be #6118
We have certain headers in the inc folder of the package that don't need to be accessible to the end user, or used only in source and hence should move to the private directory of the src folder
For example:
sdk/tables/azure-data-tables/inc/azure/data/tables/internal/cryptography/url_encode.hpp
The UrlUtils class is only needed in source, and lives in _detail namespace. This can be moved out of the inc folder.
https://github.com/search?q=repo%3AAzure%2Fazure-sdk-for-cpp+UrlUtils&type=codetables_sas_builder.cppaccount_sas_builder.cpp
Also, since internal is meant for other SDKs within the repo to take a dependency on, it typically only makes sense for core. Unlike storage-common (outlier), no other service SDK or package will depend on types and methods within the internal folder for azure-data-tables.
Therefore, remove the internal folder and move the headers into the private folder within src. Only .cpp files use HmacSha256.
We have certain headers in the
inc
folder of the package that don't need to be accessible to the end user, or used only in source and hence should move to the private directory of thesrc
folderFor example:
sdk/tables/azure-data-tables/inc/azure/data/tables/internal/cryptography/url_encode.hpp
TheUrlUtils
class is only needed in source, and lives in_detail
namespace. This can be moved out of theinc
folder. https://github.com/search?q=repo%3AAzure%2Fazure-sdk-for-cpp+UrlUtils&type=codetables_sas_builder.cpp
account_sas_builder.cpp
Also, since
internal
is meant for other SDKs within the repo to take a dependency on, it typically only makes sense for core. Unlike storage-common (outlier), no other service SDK or package will depend on types and methods within theinternal
folder for azure-data-tables.Therefore, remove the internal folder and move the headers into the
private
folder withinsrc
. Only .cpp files useHmacSha256
.cc @RickWinter