Skip to main content
Module

x/bids_validator/types/filetree.ts>FileTree

Validator for the Brain Imaging Data Structure
Latest
class FileTree
import { FileTree } from "https://deno.land/x/bids_validator@v1.14.13/types/filetree.ts";

Abstract FileTree for all environments (Deno, Browser, Python)

Constructors

new
FileTree(
path: string,
name: string,
parent?: FileTree,
ignored?: boolean,
)

Properties

directories: FileTree[]
files: BIDSFile[]
ignored: boolean
name: string
optional
parent: FileTree
path: string
viewed: boolean

Methods

_get(parts: string[]): BIDSFile | FileTree | undefined
contains(parts: string[]): boolean
get(path: string): BIDSFile | FileTree | undefined