fusebazil.org/fuse/fuseutil Index | Files

package fuseutil

import "bazil.org/fuse/fuseutil"

Index

Functions

func HandleRead

func HandleRead(req *fuse.ReadRequest, resp *fuse.ReadResponse, data []byte)

HandleRead handles a read request assuming that data is the entire file content. It adjusts the amount returned in resp according to req.Offset and req.Size.

Source Files

fuseutil.go

Version
v0.0.0-20230120002735-62a210ff1fd5 (latest)
Published
Jan 20, 2023
Platform
linux/amd64
Imports
1 packages
Last checked
4 days ago

Tools for package owners.