file

package
v3.73.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFileNotOpen = errors.New("file not open, or the procces that opened it can't be found")
)

Functions

func IsOpened

func IsOpened(l shell.Logger, debug bool, path string) (bool, error)

IsOpened returns true if the file at the given path is opened by the current process.

func OpenedBy

func OpenedBy(l shell.Logger, debug bool, path string) (string, error)

OpenedBy attempts to find the executable that opened the given file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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