Module Operator.OperatorInfo

Operator Information

Module for accessing operator configuration and capabilities.

name info gets the name of the operator instance.

scheme info gets the storage scheme (e.g., "fs", "s3", "gcs").

@example

printf "Using scheme: %s\n" (OperatorInfo.scheme info)

root info gets the root path configured for the operator.

@example

printf "Root path: %s\n" (OperatorInfo.root info)

capability info gets the capability information for the operator.

@example

  let cap = OperatorInfo.capability info in
  if Capability.write cap then print_endline "Write operations supported"