os

package
v2.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadDirSorted

func ReadDirSorted(name string, dirsOnly bool) ([]os.DirEntry, error)

ReadDirSorted reads the directory named by dirname and returns a sorted list of directory entries. If dirsOnly is true, only directories are returned. The entries are sorted by modification time, in ascending order.

Types

This section is empty.

Jump to

Keyboard shortcuts

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