fsutils

package
v1.17.7 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDirectory

func IsDirectory(dir string) bool

IsDirectory checks the provided path is a directory by first checking something exists at that path and then checking that it is a directory.

func ToTempFile

func ToTempFile(content string) (string, error)

ToTempFile takes a string to write to a temp file. It returns the filename and an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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