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"