MCPcopy Create free account
hub / github.com/libgit2/pygit2 / RepositoryInitMode

Class RepositoryInitMode

pygit2/enums.py:1061–1076  ·  view source on GitHub ↗

Mode options for pygit2.init_repository().

Source from the content-addressed store, hash-verified

1059
1060
1061class RepositoryInitMode(IntEnum):
1062 """
1063 Mode options for pygit2.init_repository().
1064 """
1065
1066 SHARED_UMASK = C.GIT_REPOSITORY_INIT_SHARED_UMASK
1067 'Use permissions configured by umask - the default.'
1068
1069 SHARED_GROUP = C.GIT_REPOSITORY_INIT_SHARED_GROUP
1070 """
1071 Use '--shared=group' behavior, chmod'ing the new repo to be group
1072 writable and "g+sx" for sticky group assignment.
1073 """
1074
1075 SHARED_ALL = C.GIT_REPOSITORY_INIT_SHARED_ALL
1076 "Use '--shared=all' behavior, adding world readability."
1077
1078
1079class RepositoryOpenFlag(IntFlag):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…