-
Notifications
You must be signed in to change notification settings - Fork 880
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restructuring of NFSProperties #24238
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Overview
This PR restructures the handling of NFS properties in the Azure SDK for Go by introducing a new NFSProperties type and updating related models, examples, and tests. Key changes include:
- Introduction of a new NFSProperties type and associated formatting functions in the internal/exported package.
- Updates to directory and file models to use the new NFSProperties in creation, property setting, and HTTP header operations.
- Updates to examples and tests to demonstrate usage of NFSProperties.
Reviewed Changes
File | Description |
---|---|
sdk/storage/azfile/internal/exported/nfs_property.go | Added new NFSProperties type and formatting functions |
sdk/storage/azfile/directory/models.go | Updated CreateOptions and SetPropertiesOptions to include NFSProperties |
sdk/storage/azfile/file/models.go | Added NFSProperties alias and updated create, header, and start-copy options |
sdk/storage/azfile/file/examples_test.go | Updated examples to showcase NFSProperties usage |
sdk/storage/azfile/directory/examples_test.go | Updated examples to showcase NFSProperties usage |
sdk/storage/azfile/directory/client_test.go | Updated tests to include NFSProperties in directory operations |
sdk/storage/azfile/file/client_test.go | Updated tests to include NFSProperties in file operations |
Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.
API change check APIView has identified API level changes in this PR and created following API reviews. |
FileModeCopyMode: o.FileModeCopyMode, | ||
FileOwnerCopyMode: o.FileOwnerCopyMode, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this in case of NFS?
@vibhansa-msft ?
Restructured all NFS Properties together.