mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-17 08:34:26 -04:00
18 lines
409 B
Python
18 lines
409 B
Python
__package__ = 'abx_plugin_git'
|
|
|
|
from typing import List
|
|
|
|
from pydantic import InstanceOf
|
|
from pydantic_pkgr import BinProvider, BinName, Binary
|
|
|
|
from abx_plugin_default_binproviders import apt, brew, env
|
|
|
|
from .config import GIT_CONFIG
|
|
|
|
|
|
|
|
class GitBinary(Binary):
|
|
name: BinName = GIT_CONFIG.GIT_BINARY
|
|
binproviders_supported: List[InstanceOf[BinProvider]] = [apt, brew, env]
|
|
|
|
GIT_BINARY = GitBinary()
|