/* Method implementations */
static Eina_Future *
-_efl_io_manager_direct_ls(Eo *obj,
+_efl_io_manager_direct_ls(const Eo *obj,
Efl_Io_Manager_Data *pd EINA_UNUSED,
const char *path,
Eina_Bool recursive,
}
static Eina_Future *
-_efl_io_manager_stat_ls(Eo *obj,
+_efl_io_manager_stat_ls(const Eo *obj,
Efl_Io_Manager_Data *pd EINA_UNUSED,
const char *path,
Eina_Bool recursive,
}
static Eina_Future *
-_efl_io_manager_ls(Eo *obj,
+_efl_io_manager_ls(const Eo *obj,
Efl_Io_Manager_Data *pd EINA_UNUSED,
const char *path,
void *paths_data, EflIoPath paths, Eina_Free_Cb paths_free_cb)
}
static Eina_Future *
-_efl_io_manager_stat(Eo *obj,
+_efl_io_manager_stat(const Eo *obj,
Efl_Io_Manager_Data *pd EINA_UNUSED,
const char *path)
{
/* eXtended attribute manipulation */
static Eina_Future *
-_efl_io_manager_xattr_ls(Eo *obj,
+_efl_io_manager_xattr_ls(const Eo *obj,
Efl_Io_Manager_Data *pd EINA_UNUSED,
const char *path,
void *paths_data, EflIoPath paths, Eina_Free_Cb paths_free_cb)
}
static Eina_Future *
-_efl_io_manager_open(Eo *obj,
+_efl_io_manager_open(const Eo *obj,
Efl_Io_Manager_Data *pd EINA_UNUSED,
const char *path,
Eina_Bool shared)
}
static Eina_Future *
-_efl_io_manager_close(Eo *obj,
+_efl_io_manager_close(const Eo *obj,
Efl_Io_Manager_Data *pd EINA_UNUSED,
Eina_File *file)
{
[[Class representing an asynchronous file operation.]]
methods {
- ls {
+ ls @const {
[[Lists entries in a given path.
See \@ref eina_file_ls().
]]
params {
@in path: string; [[Path we want to list entries for]]
- paths: EflIoPath; [[Callback called for each packet of files found]]
+ paths: EflIoPath; [[Callback called for each packet of files found]]
}
return: ptr(Eina.Future) @owned; [[Amount of files found during the listing of the directory]]
}
- direct_ls {
+ direct_ls @const {
[[Lists entries in a given path with more information.]]
params {
@in path: string;[[Path we want to list entries for]]
return: ptr(Eina.Future) @owned; [[Amount of files found during the listing of the directory]]
}
- stat_ls {
+ stat_ls @const {
[[Lists entries in a given path with stat information.]]
params {
@in path: string;[[Path we want to list entries for]]
}
// Extended attributes
- xattr_ls {
+ xattr_ls @const {
[[Lists all extended attributes asynchronously.]]
params {
@in path: string; [[Path we want to list entries for]]
- paths: EflIoPath; [[Callback called for each packet of extended attributes found.]]
+ paths: EflIoPath; [[Callback called for each packet of extended attributes found.]]
}
return: ptr(Eina.Future) @owned; [[Amount of extended attributes found]]
}
- stat {
+ stat @const {
[[Get stat info on a given file/directory.]]
params {
@in path: string; [[Path we want to get stat information for]]
}
// helper api
- open {
+ open @const {
[[Opens a file.
The fulfilled value in the promise will be the Eina.File*.]]
}
return: ptr(Eina.Future) @owned; [[Eina file handle]]
}
- close {
+ close @const {
[[Closes an open Eina.File.]]
params {
@in file: ptr(Eina.File); [[Eina file handle]]