Interface: ListFilesOptions

ListFilesOptions

Options when listing content from repository
Source:

Members

ascending :boolean

Whether to sort dates by ascending or not
Type:
  • boolean
Source:

extensions :Array

file extensions to include in results
Type:
  • Array
Source:

includeContent :boolean

Whether to append raw content to obj
Type:
  • boolean
Source:

path :string

Starting path to begin traversal of file structure. Default to `srcPath` from constructor.
Type:
  • string
Source:

recursive :boolean

Whether to recursive through file structure
Type:
  • boolean
Source:

sortBy :'updated'|'created'

Which dates to sort list by
Type:
  • 'updated' | 'created'
Source: