# Path: il2fb/ds/airbridge/typing.py



import os
from il2fb.config.ds import ServerConfig
from il2fb.ds.airbridge.typing import StringOrPath
# coding: utf-8




def validate_dedicated_server_file_access(file_path: StringOrPath) -> None:
    if not os.access(file_path, os.F_OK):
        raise FileNotFoundError(
            f"file does not exist (path='{file_path}')"
        )


# Path: il2fb/ds/airbridge/typing.py



# Path: il2fb/ds/airbridge/dedicated_server/validators.py
import os
from il2fb.config.ds import ServerConfig
from il2fb.ds.airbridge.typing import StringOrPath

# coding: utf-8




def validate_dedicated_server_file_access(file_path: StringOrPath) -> None:
    if not os.access(file_path, os.F_OK):
        raise FileNotFoundError(
            f"file does not exist (path='{file_path}')"
        )


    if not os.access(file_path, os.R_OK):