tools

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package tools provides runtime lookup and extraction of bundled binaries.

When built with -tags with_bundled_tools, exiftool and ffmpeg blobs are embedded in the binary via internal/bundled. On first use, they are extracted to ~/.cache/revoco/bin/ (or %LOCALAPPDATA%\revoco\bin on Windows) and made executable.

Without the build tag (dev builds), FindTool falls back to PATH only.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindTool

func FindTool(name string) (string, error)

FindTool returns the absolute path to the named tool ("exiftool" or "ffmpeg"). It first tries the embedded binary (if bundled), then falls back to PATH.

Types

This section is empty.

Jump to

Keyboard shortcuts

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