dirutil

package
v0.49.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromContext

func FromContext(ctx context.Context) *database.Dir

func PathFromContext

func PathFromContext(ctx context.Context) string

PathFromContext returns the directory path stored in the context.

If no directory is found, an empty string is returned.

func WithContext

func WithContext(ctx context.Context, dir *database.Dir) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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