fs

package
v1.16.45 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2026 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package fs provides filesystem utility functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirExists

func DirExists(path string) bool

DirExists returns true if the directory exists.

func FileExists

func FileExists(path string) bool

FileExists returns true if the file exists and is not a directory.

func IsSubPath

func IsSubPath(child, parent string) bool

IsSubPath checks if child is a subdirectory of parent. Returns true if parent is a prefix path of child.

Types

This section is empty.

Jump to

Keyboard shortcuts

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