Documentation
¶
Overview ¶
Package attachments supplies test-only attachment failure setup.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoveBackingObject ¶
func RemoveBackingObject[M any](t testing.TB, manager *attachments.Manager, file attachments.File[M])
RemoveBackingObject deletes only file's pinned original object through manager, leaving attachment metadata and variants intact. Pass attachment.File for a collection result, or the File loaded into a model slot. Use isolated test data; this mutates real storage. Failure output never includes storage pins or causes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.