utils

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFile

func CreateFile(output *string) (*os.File, error)

func FileSystem

func FileSystem(remote string) (fs.FS, error)

func IsExtensionAllowed

func IsExtensionAllowed(ext string) bool

func IsValidGithubURL

func IsValidGithubURL(rawURL string) bool

func WriteToBuffer

func WriteToBuffer(fileSys fs.FS, url *string, incPtn, excPtn []string, treeBuf, contentsBuf *bytes.Buffer) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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