Search
Preparing search index...
The search index is not available
sealious
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
FileFromPath
Class FileFromPath
Hierarchy
File
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
From
Path
(
app
:
App
)
:
FileFromPath
Parameters
app:
App
Returns
FileFromPath
Properties
app
app
:
App
data
data
:
ReadStream
filename
filename
:
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
From
Path
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