filesystem-trustfall-adapter

Crates.iofilesystem-trustfall-adapter
lib.rsfilesystem-trustfall-adapter
version0.1.0
sourcesrc
created_at2024-04-15 12:50:39.787616
updated_at2024-04-15 12:50:39.787616
descriptionFilesystem Trustfall adapter
homepagehttps://github.com/ZimboPro/trustfall-adapters.git
repositoryhttps://github.com/ZimboPro/trustfall-adapters.git
max_upload_size
id1209192
size13,471
Leslie de Jager (ZimboPro)

documentation

README

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
Commit count: 24

cargo fmt