pcvs.helpers.git module

pcvs.helpers.git.generate_data_hash(data) str[source]

Hash data with git protocol.

Parameters

data (str) – data to hash

Returns

hashed data

Return type

str

pcvs.helpers.git.get_current_usermail()[source]

Get the git user mail.

Returns

git user mail

Return type

str

pcvs.helpers.git.get_current_username() str[source]

Get the git username.

Returns

git username

Return type

str

pcvs.helpers.git.request_git_attr(k) str[source]

Get a git configuration.

Parameters

k (str) – parameter to get

Returns

a git configuration

Return type

str