SourceRepository

class technote.metadata.model.SourceRepository(*, url, path='', branch=None, commit=None)

Bases: object

The domain model for the technote’s source code repository.

Parameters:
  • url (str)

  • path (str, default: '')

  • branch (str | None, default: None)

  • commit (str | None, default: None)

Attributes Summary

branch

The branch of the source code repository.

commit

The current commit in the source code repository.

path

The base path of the technote relative to the root of the repository.

Attributes Documentation

branch: str | None = None

The branch of the source code repository.

commit: str | None = None

The current commit in the source code repository.

path: str = ''

The base path of the technote relative to the root of the repository.