Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 603 Bytes

File metadata and controls

40 lines (30 loc) · 603 Bytes

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