Skip to content

add snapshot list capability#1

Merged
disperate merged 3 commits intojulian/add-snapshot-create-delete-capabilityfrom
julian/add-list-snapshot-capability
Feb 16, 2026
Merged

add snapshot list capability#1
disperate merged 3 commits intojulian/add-snapshot-create-delete-capabilityfrom
julian/add-list-snapshot-capability

Conversation

@disperate
Copy link
Owner

No description provided.

Copy link

@mweibel mweibel left a comment

Choose a reason for hiding this comment

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

LGTM, just a question and a nit.

Comment on lines +857 to +859
sort.Slice(filtered, func(i, j int) bool {
return filtered[i].UUID < filtered[j].UUID
})
Copy link

Choose a reason for hiding this comment

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

(thinking out loud) - I thought first if we should rather use sort.SliceStable or even the slices.SortStableFunc together with strings.Compare because of the documentation that it's possibly faster and more ergonomic to use. But most likely the slice size is rather small and also UUIDs are guaranteed to not be the same (so Stable is not necessary in this case).

Long story short - I think it's fine to keep it like this.

@disperate disperate merged commit 7f9d04e into julian/add-snapshot-create-delete-capability Feb 16, 2026
1 check passed
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