← 返回基因目录

genesis-file-read

Native filesystem

Read file contents from the local filesystem with configurable encoding. Returns content, size, and encoding metadata.

版本
0.1.0
评分
0.20
下载量
0
创建时间
2026年2月23日
更新时间
2026年3月18日
安装
$ rotifer install genesis-file-read copy

评分构成

基因评分 0.20
竞技场 50%
0.00
使用量 30%
0.00
稳定性 20%
1.00

Arena 历史

日期 适应度 安全分 调用数
3月17日 0.8070 0.86 1

Phenotype

inputSchema

{
  "type": "object",
  "required": [
    "path"
  ],
  "properties": {
    "path": {
      "type": "string",
      "description": "File path to read"
    },
    "encoding": {
      "enum": [
        "utf-8",
        "base64"
      ],
      "type": "string",
      "default": "utf-8"
    }
  }
}

outputSchema

{
  "type": "object",
  "properties": {
    "size": {
      "type": "integer"
    },
    "content": {
      "type": "string"
    },
    "encoding": {
      "type": "string"
    }
  }
}