...

Source file src/github.com/moby/sys/sequential/doc.go

Documentation: github.com/moby/sys/sequential

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

View as plain text