Skip to content
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

[api] Refactor /mkdir API with better validation checks #3985

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

Harshg999
Copy link
Collaborator

What changes were proposed in this pull request?

  • Add extra validation checks for the /mkdir API and make sure it returns an error when someone tries to create two directories with same name.

How was this patch tested?

  • Manually
  • Unit tests

Copy link
Contributor

@JohanAhlen JohanAhlen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Harshg999 Harshg999 enabled auto-merge (squash) February 6, 2025 11:22
@Harshg999 Harshg999 merged commit bb3606e into master Feb 6, 2025
5 of 6 checks passed
@Harshg999 Harshg999 deleted the same-dir-present branch February 6, 2025 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants