fsstat

package
v0.3.3 Latest Latest
Warning

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

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

Documentation

Overview

Package fsstat provides access to platform specific file stat info.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DevNumber

func DevNumber(info os.FileInfo) (uint64, error)

DevNumber returns the device number for info

func ToStat

func ToStat(info os.FileInfo) (*fspb.FileStat, error)

ToStat returns a fspb.ToStat with the file info from 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