MobX GitHub
Preparing search index...
TreeModel
Class TreeModel
Hierarchy
{}
&
ListModel
<
Tree
,
Partial
<
NewData
<
Tree
>
>
,
this
>
TreeModel
Index
Constructors
constructor
Properties
client
owner
repository
Methods
get
One
open
Stream
Constructors
constructor
new
TreeModel
(
owner
:
string
,
repository
:
string
)
:
TreeModel
Parameters
owner
:
string
repository
:
string
Returns
TreeModel
Properties
client
client
:
HTTPClient
<
Context
>
= githubClient
owner
owner
:
string
repository
repository
:
string
Methods
get
One
getOne
(
treeSHA
?:
string
,
recursive
?:
boolean
)
:
Promise
<
{}
>
Parameters
treeSHA
:
string
= 'HEAD'
Optional
recursive
:
boolean
Returns
Promise
<
{}
>
See
https://docs.github.com/en/rest/git/trees#get-a-tree
open
Stream
openStream
(
__namedParameters
:
Filter
<
Tree
>
)
:
AsyncGenerator
<
{}
,
void
,
unknown
>
Parameters
__namedParameters
:
Filter
<
Tree
>
Returns
AsyncGenerator
<
{}
,
void
,
unknown
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
client
owner
repository
Methods
get
One
open
Stream
MobX GitHub
Loading...
See
https://docs.github.com/en/rest/git/trees#get-a-tree