utils

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package utils contains utility functions for gophercast.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckYtDlp

func CheckYtDlp() error

CheckYtDlp verifies yt-dlp is installed.

func EnsureDir

func EnsureDir(path types.Path) error

EnsureDir creates directory if it doesn't exist.

func SanitizeFilename

func SanitizeFilename(filename string) string

SanitizeFilename cleans up filenames for safe storage.

func UnsanitizeFilename

func UnsanitizeFilename(filename string) string

UnsanitizeFilename reverses SanitizeFilename.

Types

This section is empty.

Jump to

Keyboard shortcuts

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