Index

Hub

hub_id -> [HubMeta, HubLinks]

A set of hub IDs.

HubMeta

title, description, zeronet_version

Hubs

A set of Hubs.

LoadJsonFail

When failed to parse a string as json object.

UsageError

Command line usage error, e.g. missing argument for option.

crawl()

Gluing code or the real entry point. R

crawl_all()

Returns

crawl_all_hubs()

Crawl zerome user register for hubs.

Given a hub site path, returns all hub IDs whose users are followed by the given hub.

get_follow()

Returns non empty follow array.

get_json_string()

Given a json object and a key, returns object[key] iff object[key] is a string.

get_userdb_dir()

Returns data/REGISTRY_ID/data/userdb/.

jsonify()

Returns JsonObject for Hub and JsonArray of JsonObject for Hubs.

load_json_object()

Returns null if parsed result of file is not JsonObject.

meta()

Parse content.json of a hub for meta data.

read_file()

Read the file whole.

resolve_directory()

Resolve a link to direcotry.

resolve_file()

Resolve a link to direcotry.

resolve_path_to_directory()

Resolve a path to a direcotry.

resolve_path_to_file()

Resolve a path to a flie.

run()

The ultimate exception handler.