CommitAffectedFileDto

com.worxbend.codeberg4s.repositories.wire.CommitAffectedFileDto
See theCommitAffectedFileDto companion object
final case class CommitAffectedFileDto(filename: Option[String], status: Option[String])

Forgejo's CommitAffectedFiles — one element of a commit's files array.

Value parameters

filename

the filename key

status

the status key; every element of golden/repository/commits-list.json reports modified

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Converts to the domain, reporting failure paths relative to at.

Converts to the domain, reporting failure paths relative to at.

Requires filename, because a changed file with no path says nothing. An unrecognised status becomes None rather than a failure — see com.worxbend.codeberg4s.repositories.CommitFileStatus.parse.

Attributes

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product