Gjsify LogoGjsify Logo

Hierarchy

  • FolderInfo

Index

Constructors

Properties

child: object
display_name: string
full_name: string
next: object
parent: object
total: number
unread: number
name: string

Methods

  • free(): void
  • build(folders: FolderInfo[], namespace_: string, separator: number, short_names: boolean): FolderInfo
  • This takes an array of folders and attaches them together according to the hierarchy described by their full_names and separator. If namespace_ is non-%NULL, then it will be ignored as a full_name prefix, for purposes of comparison. If necessary, camel_folder_info_build() will create additional #CamelFolderInfo with %NULL urls to fill in gaps in the tree. The value of short_names is used in constructing the names of these intermediate folders.

    Parameters

    • folders: FolderInfo[]

      an array of #CamelFolderInfo

    • namespace_: string

      an ignorable prefix on the folder names

    • separator: number

      the hieararchy separator character

    • short_names: boolean

      %TRUE if the (short) name of a folder is the part after the last separator in the full name. %FALSE if it is the full name.

    Returns FolderInfo

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method