Page MenuHomeSoftware Heritage

config.py
No OneTemporary

config.py

#!/usr/bin/python
# Read the config file for a git repository.
#
# Example usage:
# python examples/config.py
from dulwich.repo import Repo
repo = Repo(".")
config = repo.get_config()
print(config.get("core", "filemode"))
print(config.get(("remote", "origin"), "url"))

File Metadata

Mime Type
text/x-python
Expires
Sat, Mar 21, 3:46 PM (5 d, 1 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3389010

Event Timeline