Crate lxutil

Source
Expand description

The LxUtil crate provides an API that allows you to write the same file system code on Windows and Linux, using Linux semantics on both platforms (subject to the limitations of the underlying file system).

This crate uses lxutil.dll, a library created for the Windows Subsystem for Linux to emulate Linux file system semantics on Windows.

Structs§

LxCreateOptions
Specifies options to use when creating a file.
LxFile
A platform-independent abstraction that allows you to treat a file as if it has Unix semantics.
LxVolume
A platform-independent abstraction that allows you to treat an area of the file system as if it has Unix semantics.
LxVolumeOptions
Sets options used by an LxVolume. These control whether metadata is enabled, and set defaults to use for files without metadata.
SetAttributes
Supplies the attributes to change for set_attr.

Enums§

SetTime
Supplies the value to set a time attribute to.

Traits§

PathBufExt
Extensions to PathBuf to convert Unix-style paths to a native path.
PathExt
Extensions to Path to convert Unix-style paths to a native path, using the same rules as PathBuf.