fileutil

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 2 Imported by: 3

Documentation

Overview

Package fileutil provides utilities for file operations

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExists

func FileExists(file string) error

FileExists ensures that file exists

func FileNames

func FileNames(folder string) ([]string, error)

FileNames returns list of files in provided folder.

func FolderExists

func FolderExists(dir string) error

FolderExists ensures that folder exists

func SubfolderNames

func SubfolderNames(folder string) ([]string, error)

SubfolderNames returns list of subfolders in provided folder

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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