fs

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Overview

Package fs provides common filesystem functions and utilities

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInode

func GetInode(file string) (uintptr, error)

GetInode returns Inode for file

func WatchFile

func WatchFile(ctx context.Context, filePath string) <-chan []byte

WatchFile watches file changes even if the watching file does not exist or removed. Sends nil value in the channel on file removing. Closes channel due to unexpected os error or context is done.

Types

This section is empty.

Jump to

Keyboard shortcuts

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