Skip to content

Refactor get_mount_points#2044

Merged
m3nu merged 1 commit intoborgbase:masterfrom
shivansh02:refactor-get_mount_points
Jul 24, 2024
Merged

Refactor get_mount_points#2044
m3nu merged 1 commit intoborgbase:masterfrom
shivansh02:refactor-get_mount_points

Conversation

@shivansh02
Copy link
Collaborator

Description

Split get_mount_points into multiple methods to reduce nested elif statements and improve readability.

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have read the CONTRIBUTING guide.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

I provide my contribution under the terms of the license of this repository and I affirm the Developer Certificate of Origin.

@shivansh02 shivansh02 requested a review from m3nu July 22, 2024 14:02
@m3nu m3nu merged commit 0b937bf into borgbase:master Jul 24, 2024
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.

2 participants