Skip to content

Commit

Permalink
docs: Add missing doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rhafer committed Feb 28, 2024
1 parent f5a282c commit 954998a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions services/graph/pkg/service/v0/api_drives_drive_item.go
Expand Up @@ -50,6 +50,7 @@ func NewDrivesDriveItemService(logger log.Logger, gatewaySelector pool.Selectabl
}, nil
}

// UnmountShare unmounts a share from the sharejail
func (s DrivesDriveItemService) UnmountShare(ctx context.Context, resourceID storageprovider.ResourceId) error {
gatewayClient, err := s.gatewaySelector.Next()
if err != nil {
Expand Down Expand Up @@ -236,6 +237,7 @@ func NewDrivesDriveItemApi(drivesDriveItemService DrivesDriveItemProvider, logge
}, nil
}

// DeleteDriveItem deletes a drive item
func (api DrivesDriveItemApi) DeleteDriveItem(w http.ResponseWriter, r *http.Request) {
ctx := r.Context()
driveID, itemID, err := GetDriveAndItemIDParam(r, &api.logger)
Expand Down

0 comments on commit 954998a

Please sign in to comment.