etebase_fs_cache_new method

Pointer<EtebaseFileSystemCache> etebase_fs_cache_new(
  1. Pointer<Char> path,
  2. Pointer<Char> username
)

Initialize a file system cache object

Should be destroyed with etebase_fs_cache_destroy

@param path the path to a directory to store cache in @param username username of the user to cache data for

Implementation

ffi.Pointer<EtebaseFileSystemCache> etebase_fs_cache_new(
  ffi.Pointer<ffi.Char> path,
  ffi.Pointer<ffi.Char> username,
) {
  return _etebase_fs_cache_new(
    path,
    username,
  );
}