Skip to content
HALOWERK

Package and Supply Chain Security

git index stat racy audit

Return conservative content-check decisions for supplied index and worktree stat records relative to index write time.

POST https://paket.halowerk.com/v1/git-index-stat-racy-audit

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
index_write_msintegerYes
entriesarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "index_write_ms": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000000000000
    },
    "entries": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "maxLength": 200,
            "minLength": 1
          },
          "cached_mtime_ms": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000000000
          },
          "actual_mtime_ms": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000000000
          },
          "cached_size": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000000000
          },
          "actual_size": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000000000
          },
          "cached_mode": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000000000
          },
          "actual_mode": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000000000
          }
        },
        "required": [
          "path",
          "cached_mtime_ms",
          "actual_mtime_ms",
          "cached_size",
          "actual_size",
          "cached_mode",
          "actual_mode"
        ],
        "additionalProperties": false
      },
      "maxItems": 100,
      "minItems": 1
    }
  },
  "required": [
    "index_write_ms",
    "entries"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "index_write_ms": 1000,
  "entries": [
    {
      "path": "README.md",
      "cached_mtime_ms": 1000,
      "actual_mtime_ms": 1000,
      "cached_size": 6,
      "actual_size": 6,
      "cached_mode": 33188,
      "actual_mode": 33188
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-19 UTC.

More endpoints in this hub

All endpoints in this hub โ†’