listDirectoryEntries
This content is for v1.2.1. Switch to the latest version for up-to-date documentation.
listDirectoryEntries(
bookmarkTree,directoryPath,options?): readonlyBookmarkEntry[]
Defined in: domain/bookmarks/bookmark-directory.ts:189
指定directory直下のentry一覧をfolder-firstで取得します。
Parameters
Section titled “Parameters”bookmarkTree
Section titled “bookmarkTree”対象のBookmark Treeです。
directoryPath
Section titled “directoryPath”string
directory pathです。
options?
Section titled “options?”ListDirectoryEntriesOptions = defaultListDirectoryEntriesOptions
Directory entry表示optionです。
Returns
Section titled “Returns”readonly BookmarkEntry[]
directory直下のentry一覧です。
Example
Section titled “Example”const result = listDirectoryEntries(bookmarkTree, "/Work", { all: false });