#trustfall #adapter

filesystem-trustfall-adapter

Filesystem Trustfall adapter

1 unstable release

0.1.0 Apr 15, 2024

#482 in Filesystem

Download history 83/week @ 2024-04-09 50/week @ 2024-04-16

133 downloads per month

MIT license

14KB
326 lines

Filesystem Trustfall Adapter

A Filesystem Trustfall adapter.

NOTE: This adapter is not maintained by the Trustfall maintainers.

Spec

type RootSchemaQuery {
    Path(path: String!): Path!
}

interface Path {
    path: String!

}

type Folder implements Path {
    path: String!
    children: [Path!]
}

interface File implements Path {
    path: String!
    size: Int!
    extension: String!
    """
    SHA256 hash of the file
    """
    Hash: String!
}

TODO

  • Add examples
  • improve docs
  • Add tests
  • Example queries

Dependencies

~13MB
~299K SLoC