datalad_next.constraints.EnsureGitRefName

class datalad_next.constraints.EnsureGitRefName(allow_onelevel: bool = True, normalize: bool = True, refspec_pattern: bool = False)[source]

Bases: Constraint

Ensures that a reference name is well formed

Validation is performed by calling git check-ref-format.

short_description()[source]

This method is deprecated. Use input_synopsis instead