fsutil

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 3 Imported by: 3

Documentation

Overview

Package fsutil implements some file system utility functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpandHomeDir added in v1.3.5

func ExpandHomeDir(rawFilePath string) (string, error)

ExpandHomeDir expands prefix '~' in rawFilePath with HOME environment variable.

func ResolveUrlPath added in v1.3.5

func ResolveUrlPath(baseFilePath string, rawUrlPath string) string

ResolveUrlPath resolves rawUrlPath within the baseFilePath.

Types

This section is empty.

Jump to

Keyboard shortcuts

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