# Packages
Package receivers exposes the interface for receiving data from a btrfs send stream.
# Functions
FindDiffOffset will find the offset in the stream where the diff between the two streams begins.
FindPathDiffOffset is the same as FindDiffOffset but will initiate the stream from the given paths.
ForceDecompress will cause the receiver to decompress any compressed data it encounters in the stream.
FromOffset will start processing the stream at the given command offset.
HonorEndCommand will cause the receiver to stop processing the stream when it encounters a BTRFS_SEND_C_END command.
IgnoreChecksums will cause the receiver to ignore crc32 checksums in the stream.
ProcessSendStream will process a send stream and apply it to the receiver with the given options.
To will set the receiver to use for the stream.
WithContext will set the context for the receiver to use.
WithLogger will set the logger for the receiver to use.
WithMaxErrors will set the maximum number of errors that can occur before the receiver stops processing the stream.
# Variables
ErrInvalidSendCommand is returned when an invalid send command is encountered.
# Type aliases
Option is a function that can be passed to ProcessSendStream to configure the behavior of the receiver.