func (fu *FileUpdate) SetContents(s string) *FileUpdate {
	fu.mutation.SetContents(s)
	return fu
}
SetContents sets the "contents" field.
package ent
import (
	"context"
	"fmt"
	"entgo.io/contrib/entproto/cmd/protoc-gen-ent/internal/todo/ent/file"
	"entgo.io/contrib/entproto/cmd/protoc-gen-ent/internal/todo/ent/predicate"
	"entgo.io/ent/dialect/sql"
	"entgo.io/ent/dialect/sql/sqlgraph"
	"entgo.io/ent/schema/field"
)
type FileUpdate struct {
	config
	hooks    []Hook
	mutation *FileMutation
}
func (fu *FileUpdate) Where(ps ...predicate.File) *FileUpdate {
	fu.mutation.Where(ps...)
	return fu
}