//func (o OpenfileHandle) func (o openFileHandle) Flush(request *fuse.FlushRequest, intr fs.Intr) fuse.Error { log.Printf("Request: %+v\nHandle Information:\n%+v", request, o) if o.parent.openHandles[o.name].publish == true && o.publish == true { o.Publish() o.parent.openHandles[o.name].publish = false //Prevent multiple publishes } request.Respond() return nil }
func (f *fs) handleFlush(r *fuse.FlushRequest) { log.Println("Inside handleFlush") r.Respond() }