spiegel_podman/vendor/github.com/moby/sys/sequential/doc.go
tomsweeneyredhat 2ba0070cc4
Bump runc to 1.2.9, Buildah 1.29.6
Cherry picked from commit 2e8bce201e with
additional updates required for the v4.2.0-rhel branch.

Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>

Assisted by AI: Cursor <Auto>
Signed-off-by: Chris Evich <cevich@redhat.com>
2026-01-28 10:45:58 -05:00

15 lines
688 B
Go

// Package sequential provides a set of functions for managing sequential
// files on Windows.
//
// The origin of these functions are the golang OS and windows packages,
// slightly modified to only cope with files, not directories due to the
// specific use case.
//
// The alteration is to allow a file on Windows to be opened with
// FILE_FLAG_SEQUENTIAL_SCAN (particular for docker load), to avoid eating
// the standby list, particularly when accessing large files such as layer.tar.
//
// For non-Windows platforms, the package provides wrappers for the equivalents
// in the os packages. They are passthrough on Unix platforms, and only relevant
// on Windows.
package sequential