Storager
Object Hierarchy:
Description:
public class Storager : Object
A class for working with client files
Content:
Properties:
Static methods:
Creation methods:
Methods:
- public Location audio_cache_location (string track_id)
- public async void clear_user_data (bool keep_content, bool keep_datadir)
Remove user data and move content to cache
- public async HumanitySize get_perm_size ()
- public async HumanitySize get_temp_size ()
- public Location image_cache_location (string image_uri)
Get image location by it uri.
- public async Bytes? load_audio (string track_id)
- public async Bytes? load_image (string image_uri)
- public async HasID? load_object (Type obj_type, string oid)
- public HasID? load_object_sync (Type obj_type, string oid)
- public async void move_file_to (File src_file, bool is_tmp)
- public async void move_loc_to_perm (Location loc)
Move file from cache dir to datadir
- public async void move_loc_to_temp (Location loc, bool keep_on_disk = true)
Remove file from datadir. Move it to cache dir or delete if
keep_on_disk is false
- public async void move_to (string src_path, bool is_tmp)
- public Location object_cache_location (Type obj_type, string oid)
- public async void save_audio (Bytes audio, string track_id, bool is_tmp)
Save audio data.
- public async void save_image (Bytes image_data, string image_url, bool is_tmp = true)
- public async void save_object (HasID yam_object, bool is_tmp)
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref