public interface FuseFillDir
| Modifier and Type | Method and Description |
|---|---|
int |
apply(jnr.ffi.Pointer buf,
java.nio.ByteBuffer name,
jnr.ffi.Pointer stbuf,
long off) |
default int |
apply(jnr.ffi.Pointer buf,
java.lang.String name,
FileStat stbuf,
long off)
Function to add an entry in a readdir() operation
|
int apply(jnr.ffi.Pointer buf,
java.nio.ByteBuffer name,
jnr.ffi.Pointer stbuf,
long off)
default int apply(jnr.ffi.Pointer buf,
java.lang.String name,
FileStat stbuf,
long off)
buf - the buffer passed to the readdir() operationname - the file name of the directory entrystbuf - file attributes, can be NULLoff - offset of the next entry or zero