pathutils

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanAndCheckPaths

func CleanAndCheckPaths(paths []string, outputDir string) ([]string, string, error)

Cleans given paths and ouputDir and checks for duplicates. Also checks for duplicate filenames if outputDir is not empty. Returns cleaned paths or error if any of the checks failed.

func CloseAndRemove

func CloseAndRemove(f *os.File)

func FilenameOverflow

func FilenameOverflow(s string, n int) string

func OpenAndGetSize

func OpenAndGetSize(path string) (*os.File, int64, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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