# Path: gg/utils.py
# def get_repo_name():
#     repo = get_repo()
#     return os.path.basename(repo.working_dir)


import datetime
import json
from .utils import get_repo_name



def read(configfile):
    with open(configfile, "r") as f:
        return json.load(f)


def write(configfile, data):
    with open(configfile, "w") as f:
        json.dump(data, f, indent=2, sort_keys=True)


def save(configfile, description, branch_name, **extra):

# Path: gg/utils.py
# def get_repo_name():
#     repo = get_repo()
#     return os.path.basename(repo.working_dir)


# Path: gg/state.py
import datetime
import json
from .utils import get_repo_name




def read(configfile):
    with open(configfile, "r") as f:
        return json.load(f)


def write(configfile, data):
    with open(configfile, "w") as f:
        json.dump(data, f, indent=2, sort_keys=True)


def save(configfile, description, branch_name, **extra):

    repo_name = get_repo_name()