<commit_before># vim: tw=0:ts=4:sw=4:et:ft=bash
# -*- coding: UTF-8 -*-

#. GIT -={

#. Internals -={
function :boph:git.isrepo() {
    local e=1

    local gitrepo=$PWD
    while [ ! -d "${gitrepo}/.git" -a "${gitrepo}" != '/' ]; do
        gitrepo=$(coreutils readlink -f "${gitrepo}/..")
    done

    if [ "${gitrepo}" != '/' ]; then
        echo "${gitrepo}"
        e=0
    fi

    return $e
}

function :boph:git.status() {
    local -i e=1

    local gitrepo<commit_msg>Remove reference to `coreutil' wrapper<commit_after># vim: tw=0:ts=4:sw=4:et:ft=bash
# -*- coding: UTF-8 -*-

#. GIT -={

#. Internals -={
function :boph:git.isrepo() {
    local e=1

    local gitrepo=$PWD
    while [ ! -d "${gitrepo}/.git" -a "${gitrepo}" != '/' ]; do
        gitrepo=$(readlink -f "${gitrepo}/..")
    done

    if [ "${gitrepo}" != '/' ]; then
        echo "${gitrepo}"
        e=0
    fi

    return $e
}

function :boph:git.status() {
    local -i e=1

    local gitrepo
{'fraction_non_alphanumeric': 0.2203913491246138, 'fraction_numerical': 0.014418125643666324, 'mean_word_length': 2.261744966442953, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7170082', 'n_tokens_mistral': 388, 'n_tokens_neox': 371, 'n_words': 82}