filerefs

package
v2.17.9 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package filerefs reports which file records still have an inbound reference

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Referenced

func Referenced(ctx context.Context, client *ent.Client, ids []string) (map[string]struct{}, error)

Referenced returns the ids with an inbound reference; soft deleted parents count because the referencing tables are read directly

Types

This section is empty.

Jump to

Keyboard shortcuts

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