Fast Ref / API Reference / Manage

reload_all_references()

마크다운 다운로드

모든 레퍼런스를 소스 파일에서 다시 로드합니다. "converted" 또는 "missing" 상태의 레퍼런스는 자동으로 건너뜁니다.

시그니처

api.reload_all_references() -> dict

반환값

{
    "success": bool,
    "message": str,
    "success_count": int,
    "failed_count": int,
    "skipped_count": int,
}

예제

from os_fast_ref.api import FastRefAPI

api = FastRefAPI()
result = api.reload_all_references()

print(result['message'])
# e.g. "Reload complete: 3 succeeded, 0 failed, 1 skipped"

활용 예 — 변경된 경우에만 리로드

from os_fast_ref.api import FastRefAPI

api = FastRefAPI()
status = api.check_file_status()

if any(s['status'] == 'outdated' for s in status['data']):
    result = api.reload_all_references()
    print(f"Reload: {result['success_count']} succeeded, {result['failed_count']} failed")
💬

Need help with the API?

Open a support ticket or join the community discussion.

문의하기