helpers

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2022 License: GPL-3.0 Imports: 4 Imported by: 3

Documentation

Overview

Package helpers has a collection of helpers that help process metadata details.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HeavySanitize

func HeavySanitize(title string) (string, string)

HeavySanitize mangles a filename even further removing often found extra characters in filenames.

func Sanitize

func Sanitize(filename string) string

Sanitize prepares a filename for parsing. It tries to remove dots and other weird characters to make parsing easier.

func WithLock

func WithLock(fn func(), id string)

WithLock keeps track of metaitems that are being refreshed based on an id or uuid and locks them so they can't be refreshed twice.

Types

This section is empty.

Jump to

Keyboard shortcuts

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