Liking cljdoc? Tell your friends :D

clj-chrome-devtools.commands.storage


clear-data-for-originclj

(clear-data-for-origin)
(clear-data-for-origin {:as params :keys [origin storage-types]})
(clear-data-for-origin connection {:as params :keys [origin storage-types]})

Clears storage for origin.

Parameters map keys:

KeyDescription
:originSecurity origin.
:storage-typesComma separated origin names.
Clears storage for origin.

Parameters map keys:


  Key            | Description 
  ---------------|------------ 
  :origin        | Security origin.
  :storage-types | Comma separated origin names.
sourceraw docstring

get-usage-and-quotaclj

(get-usage-and-quota)
(get-usage-and-quota {:as params :keys [origin]})
(get-usage-and-quota connection {:as params :keys [origin]})

Returns usage and quota in bytes.

Parameters map keys:

KeyDescription
:originSecurity origin.

Return map keys:

KeyDescription
:usageStorage usage (bytes).
:quotaStorage quota (bytes).
:usage-breakdownStorage usage per type (bytes).
Returns usage and quota in bytes.

Parameters map keys:


  Key     | Description 
  --------|------------ 
  :origin | Security origin.

Return map keys:


  Key              | Description 
  -----------------|------------ 
  :usage           | Storage usage (bytes).
  :quota           | Storage quota (bytes).
  :usage-breakdown | Storage usage per type (bytes).
sourceraw docstring

track-cache-storage-for-originclj

(track-cache-storage-for-origin)
(track-cache-storage-for-origin {:as params :keys [origin]})
(track-cache-storage-for-origin connection {:as params :keys [origin]})

Registers origin to be notified when an update occurs to its cache storage list.

Parameters map keys:

KeyDescription
:originSecurity origin.
Registers origin to be notified when an update occurs to its cache storage list.

Parameters map keys:


  Key     | Description 
  --------|------------ 
  :origin | Security origin.
sourceraw docstring

untrack-cache-storage-for-originclj

(untrack-cache-storage-for-origin)
(untrack-cache-storage-for-origin {:as params :keys [origin]})
(untrack-cache-storage-for-origin connection {:as params :keys [origin]})

Unregisters origin from receiving notifications for cache storage.

Parameters map keys:

KeyDescription
:originSecurity origin.
Unregisters origin from receiving notifications for cache storage.

Parameters map keys:


  Key     | Description 
  --------|------------ 
  :origin | Security origin.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close