{
  "id": "go/os-open-no-such-file",
  "signature": "open /path/to/file: no such file or directory",
  "signature_zh": "打开 /path/to/file: 没有这样的文件或目录",
  "regex": "open\\ /path/to/file:\\ no\\ such\\ file\\ or\\ directory",
  "domain": "go",
  "category": "io_error",
  "subcategory": null,
  "root_cause": "Attempting to open a file that does not exist, often due to a typo in the path or the file being deleted.",
  "root_cause_type": "generic",
  "root_cause_zh": "尝试打开不存在的文件，通常是由于路径拼写错误或文件已被删除。",
  "versions": [
    {
      "version": "1.13",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "1.14",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "1.15",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "There is a race condition between the check and the open.",
      "fail_rate": 0.5,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "This creates an empty file, which may not be desirable.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "Use os.OpenFile with O_RDONLY and check the error.",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.85,
      "how": "Use filepath.Abs to resolve the path and verify it.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.88,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-12-15",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}