placer

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComputeTargets

func ComputeTargets(cfg *config.Config, artifactType string) ([]string, error)

ComputeTargets returns absolute destination directories for an artifact type according to the placement.mapping rules in config.

func Place

func Place(cfg *config.Config, srcPath, artifactType, mode string) ([]string, error)

Place copies/symlinks/hardlinks a file into the mapped directories. mode: "symlink" | "hardlink" | "copy" If artifactType is empty, it will be detected.

Types

This section is empty.

Jump to

Keyboard shortcuts

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