attachments

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2026 License: MIT Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL