Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/johnny_decimal/models/directory.ts>Directory

Utilities for interacting with a Johnny Decimal filing system.
Go to Latest
class Directory
extends DirectoryCore
import { Directory } from "https://deno.land/x/johnny_decimal@1.0.3/models/directory.ts";

Constructors

new
Directory(unnamed 0: Record<string, string>)

Properties

$HOME: string
$JD_DIR: string
$JD_HOME: string
commands: Record<string, Command>
config: any

Methods

findLocations(match?: RegExp[]): Promise<Location[]>
findLocationsById(id: string): Promise<Location[]>
findLocationsByName(name: string): Promise<Location[]>
getConfig(name: string): Promise<any>
setConfig(name: string, value: any)