class documentation

class cmd_hash_object(Command):

View In Hierarchy

Compute object ID and optionally store in repository.

Method run Execute the hash-object command.
def run(self, args: Sequence[str]) -> int: ΒΆ

Execute the hash-object command.

Parameters
args:Sequence[str]Command line arguments
Returns
intExit code (0 for success)