Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix doc

Neeraj Guptad3f0259f5a25
diff --git a/pkg/model/remote.go b/pkg/model/remote.go
index ed73268823..3fb0be9e41 100644
--- a/pkg/model/remote.go
+++ b/pkg/model/remote.go
@@ -54,7 +54,7 @@ type AlbumFileEntry struct {
SyncedLocally bool `json:"localSync"`
}
-// Sort list of AlbumFileEntry by IsDeleted and then by albumID
+// SortAlbumFileEntry sorts the given entries by isDeleted and then by albumID
func SortAlbumFileEntry(entries []*AlbumFileEntry) {
sort.Slice(entries, func(i, j int) bool {
if entries[i].IsDeleted != entries[j].IsDeleted {