util

package
v0.1.19 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: MIT Imports: 7 Imported by: 1

Documentation

Overview

Package util provides utility functions, e.g. for accessing directories and files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(ctx *b.Context, src, tgdir string)

func GetPeriod

func GetPeriod(ctx *b.Context, period string) time.Duration

func JoinUrlPath

func JoinUrlPath(url, path string) string

func ListDirFiles added in v0.1.13

func ListDirFiles(ctx *b.Context, path string) []string

func ListFiles

func ListFiles(ctx *b.Context, pattern string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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