erofs

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpVMDKDescriptor

func DumpVMDKDescriptor(w io.Writer, cid uint32, devices []string) error

DumpVMDKDescriptor writes a monolithicFlat VMDK descriptor to w. Extent path strings are written verbatim from devices.

func DumpVMDKDescriptorToFile

func DumpVMDKDescriptorToFile(path string, cid uint32, devices []string) error

DumpVMDKDescriptorToFile writes a VMDK descriptor to path atomically. It creates a uniquely-named temporary file in the same directory as path, syncs it to disk, and renames it into place. This ensures that a concurrent reader never observes a partially-written descriptor and that two concurrent writers do not clobber each other's temporary file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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