summaryrefslogtreecommitdiff
path: root/internal/cache/size.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cache/size.go')
-rw-r--r--internal/cache/size.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/internal/cache/size.go b/internal/cache/size.go
index f9d88491d..b1c431c55 100644
--- a/internal/cache/size.go
+++ b/internal/cache/size.go
@@ -460,6 +460,19 @@ func sizeofMention() uintptr {
}))
}
+func sizeofMove() uintptr {
+ return uintptr(size.Of(&gtsmodel.Move{
+ ID: exampleID,
+ CreatedAt: exampleTime,
+ UpdatedAt: exampleTime,
+ AttemptedAt: exampleTime,
+ SucceededAt: exampleTime,
+ OriginURI: exampleURI,
+ TargetURI: exampleURI,
+ URI: exampleURI,
+ }))
+}
+
func sizeofNotification() uintptr {
return uintptr(size.Of(&gtsmodel.Notification{
ID: exampleID,