Skip to content
Framework

Errors and types

Structure

A project's folder tree, as structure() builds it.

str() and repr() give the local tree, which lists ignored files by name. published is the tree as publish_structure() prints it, and document the JSON it uploads.

Fields

Name Type Description
root str

The name at the top: the folder's name, or the project's for several folders.

base str

The folder relative to the project root, "" for the root.

method str

How ignored paths were found: git, gitignore, or none.

entries tuple[_Entry, ...]

The rows of the local tree, ignored files included.

open tuple[str, ...]

Folders that start open in an embed.

highlight tuple[str, ...]

Paths drawn as highlighted.

Search guides and reference for R, Python, Stata, the CLI, and Framework Cloud.