mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-26 06:00:22 +00:00
14 lines
267 B
Python
14 lines
267 B
Python
from pathlib import Path
|
|
|
|
from pluggy import HookimplMarker
|
|
from pluggy import HookspecMarker
|
|
|
|
spec = hookspec = HookspecMarker("abx")
|
|
impl = hookimpl = HookimplMarker("abx")
|
|
|
|
|
|
@hookspec
|
|
@hookimpl
|
|
def get_system_user() -> str:
|
|
return Path('~').expanduser().name
|
|
|