Operation to add or update a file.
Summary
Types
@type t() :: %HfHub.Commit.Operation.Add{ content: content_source(), is_committed: boolean(), is_uploaded: boolean(), path_in_repo: String.t(), upload_info: HfHub.LFS.UploadInfo.t() | nil, upload_mode: upload_mode() }
@type upload_mode() :: :regular | :lfs | nil