fsutil

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNFS

func IsNFS(path string) (bool, error)

IsNFS checks if the path is on NFS. If the path does not exist yet, it will walk up parent directories until one exists, or it hits '/' or '.'. Any other stat errors will cause IsNFS to fail.

func WindowsSubsystemPath added in v2.2.0

func WindowsSubsystemPath(_ context.Context, _ string) (string, error)

WindowsSubsystemPath is the non-Windows stub for the Windows-only implementation in fsutil_windows.go.

func WindowsSubsystemPathForLinux added in v2.2.0

func WindowsSubsystemPathForLinux(_ context.Context, _, _ string) (string, error)

WindowsSubsystemPathForLinux is the non-Windows stub for the Windows-only implementation in fsutil_windows.go.

func WindowsSubsystemPathWithCygpath added in v2.2.0

func WindowsSubsystemPathWithCygpath(_ context.Context, _, _ string) (string, error)

WindowsSubsystemPathWithCygpath is the non-Windows stub for the Windows-only implementation in fsutil_windows.go.

Types

This section is empty.

Jump to

Keyboard shortcuts

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