Listing

Learn how to get the listings of graphs and queries using structs.

Overview

We need to be able to get listings of the graphs and queries we’re saving. And we also want to be able to access graphs and queries within any directories that we might add manually to our store. This is what we will do now.

We'll start with graphs—queries will be treated the same.

First, let’s add a file_test type that we’ll use to select directories or regular file types:

Get hands-on with 1200+ tech skills courses.