Search
Preparing search index...
The search index is not available
sealious
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
File
Class File
Hierarchy
File
FileFromDB
FileFromPath
Index
Constructors
constructor
Properties
app
data
filename
id
mime_
type
Methods
get
Data
Path
get
Mime
Type
get
Stream
getURL
save
toDBEntry
from
Data
fromID
from
Path
Constructors
constructor
new
File
(
app
:
App
)
:
File
Parameters
app:
App
Returns
File
Properties
app
app
:
App
Optional
data
data
:
Readable
Optional
filename
filename
:
undefined
|
string
Optional
id
id
:
undefined
|
string
Optional
mime_
type
mime_
type
:
undefined
|
string
Methods
get
Data
Path
get
Data
Path
(
)
:
string
|
null
Returns
string
|
null
get
Mime
Type
get
Mime
Type
(
)
:
string
Returns
string
get
Stream
get
Stream
(
)
:
null
|
ReadStream
Returns
null
|
ReadStream
getURL
getURL
(
)
:
string
Returns
string
save
save
(
)
:
Promise
<
this
>
Returns
Promise
<
this
>
toDBEntry
toDBEntry
(
)
:
FileDBEntry
Returns
FileDBEntry
Static
from
Data
from
Data
(
app
:
App
, buffer
:
Buffer
|
string
)
:
Promise
<
File
>
Parameters
app:
App
buffer:
Buffer
|
string
Returns
Promise
<
File
>
Static
fromID
fromID
(
app
:
App
, id
:
string
)
:
Promise
<
FileFromDB
>
Parameters
app:
App
id:
string
Returns
Promise
<
FileFromDB
>
Static
from
Path
from
Path
(
app
:
App
, path
:
string
)
:
Promise
<
FileFromPath
>
Parameters
app:
App
path:
string
Returns
Promise
<
FileFromPath
>
Globals
File
constructor
app
data
filename
id
mime_
type
get
Data
Path
get
Mime
Type
get
Stream
getURL
save
toDBEntry
from
Data
fromID
from
Path
Generated using
TypeDoc