File
Enumerator
Class
constructor
parent_
class
name
close_
async
close_
finish
close_
fn
next_
file
next_
files_
async
next_
files_
finish
GJS API Reference
Gio-2.0
Gio
FileEnumeratorClass
Class FileEnumeratorClass
Hierarchy
FileEnumeratorClass
Index
Constructors
constructor
Properties
parent_
class
name
Methods
close_
async
close_
finish
close_
fn
next_
file
next_
files_
async
next_
files_
finish
Constructors
constructor
new
File
Enumerator
Class
(
)
:
FileEnumeratorClass
Returns
FileEnumeratorClass
Properties
parent_
class
parent_
class
:
GObject
.
ObjectClass
Static
name
name
:
string
Methods
close_
async
close_
async
(
enumerator
:
FileEnumerator
, io_priority
:
number
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
enumerator:
FileEnumerator
io_priority:
number
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
close_
finish
close_
finish
(
enumerator
:
FileEnumerator
, result
:
AsyncResult
)
:
boolean
Parameters
enumerator:
FileEnumerator
result:
AsyncResult
Returns
boolean
close_
fn
close_
fn
(
enumerator
:
FileEnumerator
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
enumerator:
FileEnumerator
cancellable:
Gio
.
Cancellable
Returns
boolean
next_
file
next_
file
(
enumerator
:
FileEnumerator
, cancellable
:
Gio
.
Cancellable
)
:
Gio
.
FileInfo
Parameters
enumerator:
FileEnumerator
cancellable:
Gio
.
Cancellable
Returns
Gio
.
FileInfo
next_
files_
async
next_
files_
async
(
enumerator
:
FileEnumerator
, num_files
:
number
, io_priority
:
number
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
enumerator:
FileEnumerator
num_files:
number
io_priority:
number
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
next_
files_
finish
next_
files_
finish
(
enumerator
:
FileEnumerator
, result
:
AsyncResult
)
:
Gio
.
FileInfo
[]
Parameters
enumerator:
FileEnumerator
result:
AsyncResult
Returns
Gio
.
FileInfo
[]
File
Enumerator
Class
constructor
parent_
class
name
close_
async
close_
finish
close_
fn
next_
file
next_
files_
async
next_
files_
finish
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHaW9fMl8wLkdpby5GaWxlRW51bWVyYXRvckNsYXNzLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHaW9fMl8wLkdpby5GaWxlRW51bWVyYXRvckNsYXNzLmh0bWwjcGFyZW50X2NsYXNzIiwibmFtZSI6InBhcmVudF9jbGFzcyIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWNsYXNzIHRzZC1pcy1zdGF0aWMiLCJocmVmIjoiR2lvXzJfMC5HaW8uRmlsZUVudW1lcmF0b3JDbGFzcy5odG1sI25hbWUiLCJuYW1lIjoibmFtZSIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtbWV0aG9kIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHaW9fMl8wLkdpby5GaWxlRW51bWVyYXRvckNsYXNzLmh0bWwjY2xvc2VfYXN5bmMiLCJuYW1lIjoiY2xvc2VfYXN5bmMiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xh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