Method: FFI::Libfuse::FuseOperations#fsync

Defined in:
lib/ffi/libfuse/fuse_operations.rb

#fsync(path, datasync, fuse_file_info) ⇒ Integer

Synchronize file contents

Parameters:

  • path (String)
  • datasync (Integer)

    If non-zero, then only the user data should be flushed, not the meta data.

  • fuse_file_info (FuseFileInfo)

Returns:

  • (Integer)

    0 for success or -ve errno



# File 'lib/ffi/libfuse/fuse_operations.rb', line 404