Description

Opens a file.

The fulfilled value in the promise will be the Eina.File*.

Signature

open {
    params {
        @in path: free(string, free);
        @in shared: bool;
    }
    return: ptr(Eina.Future);
}

C signature

Eina_Future *efl_io_manager_open(Eo *obj, const char *path, Eina_Bool shared);

Parameters

  • path (in) - Path to file
  • shared (in) - true if the file can be accessed by others, false otherwise

Implemented by

  • Efl.Io.Manager.open