Skip to content

showDirectoryTree

This content is for v1.2.0. Switch to the latest version for up-to-date documentation.

showDirectoryTree(input): Promise<BookmarkCommandResult<ShowDirectoryTreeValue>>

Defined in: application/bookmarks/tree-directory-use-case.ts:90

指定directory配下のBookmark Treeをtree表示用entry一覧にします。

ShowDirectoryTreeInput

Directory tree表示の入力です。

Promise<BookmarkCommandResult<ShowDirectoryTreeValue>>

Directory tree表示の実行結果です。

const result = await showDirectoryTree({
currentDirectory: "/Work",
depth: 2,
pathInput: "./Admin",
repository,
});

Last updated: