#adapter #trustfall

filesystem-trustfall-adapter

Filesystem Trustfall adapter

1 unstable release

0.1.0 Apr 15, 2024

#488 in Filesystem

Download history 133/week @ 2024-04-15

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
~300K SLoC