Liking cljdoc? Tell your friends :D
Mostly clj/s.
Exceptions indicated.

chromex.ext.file-manager-private

clj

fileManagerPrivate API. This is a private API used by the file browser of ChromeOS.

  • available since Chrome 39
fileManagerPrivate API.
This is a private API used by the file browser of ChromeOS.

  * available since Chrome 39
raw docstring

add-file-watchclj/smacro

(add-file-watch entry)

Adds file watch. |entry| Entry to watch |callback

|entry| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [success] where:

|success| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Adds file watch. |entry| Entry to watch |callback

  |entry| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [success] where:

  |success| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

add-file-watch*cljs

(add-file-watch* config entry)
source

add-mountclj/smacro

(add-mount source)

Mount a resource or a file. |source| Mount point source. For compressed files it is relative file path within external file system |callback

|source| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [source-path] where:

|source-path| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Mount a resource or a file. |source| Mount point source. For compressed files it is relative file path     within external
file system |callback

  |source| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [source-path] where:

  |source-path| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

add-mount*cljs

(add-mount* config source)
source

add-provided-file-systemclj/smacro

(add-provided-file-system provider-id)

Requests adding a new provided file system. If not possible, then an error via chrome.runtime.lastError is returned.

|provider-id| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Requests adding a new provided file system. If not possible, then an error via chrome.runtime.lastError is returned.

  |provider-id| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

add-provided-file-system*cljs

(add-provided-file-system* config provider-id)
source

api-tableclj

source

cancel-copyclj/smacro

(cancel-copy copy-id)

Cancels the running copy task. |copyId| ID of the copy task to be cancelled. |callback| Completion callback of the cancel.

|copy-id| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Cancels the running copy task. |copyId| ID of the copy task to be cancelled. |callback| Completion callback of the cancel.

  |copy-id| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

cancel-copy*cljs

(cancel-copy* config copy-id)
source

cancel-dialogclj/smacro

(cancel-dialog)

Cancels file selection.

Cancels file selection.
sourceraw docstring

cancel-dialog*cljs

(cancel-dialog* config)
source

cancel-file-transfersclj/smacro

(cancel-file-transfers entries)

Cancels ongoing file transfers for selected files. |entries| Array of files for which ongoing transfer should be canceled. |callback| Completion callback of the cancel.

|entries| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Cancels ongoing file transfers for selected files. |entries| Array of files for which ongoing transfer should be canceled.
|callback| Completion callback of the cancel.

  |entries| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

cancel-file-transfers*cljs

(cancel-file-transfers* config entries)
source

compute-checksumclj/smacro

(compute-checksum entry)

Computes an MD5 checksum for the given file. |entry| The entry of the file to checksum. |callback

|entry| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [checksum] where:

|checksum| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Computes an MD5 checksum for the given file. |entry| The entry of the file to checksum. |callback

  |entry| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [checksum] where:

  |checksum| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

compute-checksum*cljs

(compute-checksum* config entry)
source

configure-volumeclj/smacro

(configure-volume volume-id)

Requests configuring an existing volume. If not possible, then returns an error via chrome.runtime.lastError.

|volume-id| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Requests configuring an existing volume. If not possible, then returns an error via chrome.runtime.lastError.

  |volume-id| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

configure-volume*cljs

(configure-volume* config volume-id)
source

detect-character-encodingclj/smacro

(detect-character-encoding bytes)

Returns a guessed character encoding of a hex-encoded string. Every 2 characters of |bytes| represent one byte by 2-digit hexadecimal number. The result is preferred MIME name of the detected character encoding system. It is slightly different from IANA name. See third_party/ced/src/util/encodings/encodings.cc Returns an empty string if failed.

|bytes| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [result] where:

|result| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Returns a guessed character encoding of a hex-encoded string. Every 2 characters of |bytes| represent one byte by 2-digit
hexadecimal number. The result is preferred MIME name of the detected character encoding system. It is slightly different
from IANA name. See third_party/ced/src/util/encodings/encodings.cc Returns an empty string if failed.

  |bytes| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [result] where:

  |result| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

detect-character-encoding*cljs

(detect-character-encoding* config bytes)
source

enable-external-file-schemeclj/smacro

(enable-external-file-scheme)

Enables the extenal file scheme necessary to initiate drags to the browser window for files on the external backend.

Enables the extenal file scheme necessary to initiate drags to the browser window for files on the external backend.
sourceraw docstring

enable-external-file-scheme*cljs

(enable-external-file-scheme* config)
source

ensure-file-downloadedclj/smacro

(ensure-file-downloaded entry)

If |entry| is a Drive file, ensures the file is downloaded to the cache. Otherwise, finishes immediately in success. For example, when the file is under Downloads, MTP, removeable media, or provided by extensions for other cloud storage services than Google Drive, this does nothing. This is a workaround to avoid intermittent and duplicated downloading of a Drive file by current implementation of Drive integration when an extension reads a file sequentially but intermittently. |entry| A regular file entry to be read. |callback| Callback called after having the file in cache. 'runtime.lastError' will be set if there was an error.

|entry| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

If |entry| is a Drive file, ensures the file is downloaded to the cache. Otherwise, finishes immediately in success. For
example, when the file is under Downloads, MTP, removeable media, or provided by extensions for other cloud storage
services than Google Drive, this does nothing. This is a workaround to avoid intermittent and duplicated downloading of a
Drive file by current implementation of Drive integration when an extension reads a file sequentially but intermittently.
|entry| A regular file entry to be read. |callback| Callback called after having the file in cache.     'runtime.lastError'
will be set if there was an error.

  |entry| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

ensure-file-downloaded*cljs

(ensure-file-downloaded* config entry)
source

execute-custom-actionclj/smacro

(execute-custom-action entries action-id)

Executes a custom action for a set of entries. If not possible, then an error via chrome.runtime.lastError is returned.

|entries| - ? |action-id| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Executes a custom action for a set of entries. If not possible, then an error via chrome.runtime.lastError is returned.

  |entries| - ?
  |action-id| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

execute-custom-action*cljs

(execute-custom-action* config entries action-id)
source

execute-taskclj/smacro

(execute-task task-id entries)

Executes file browser task over selected files. |taskId| The unique identifier of task to execute. |entries| Array of entries |callback

|task-id| - ? |entries| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [result] where:

|result| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Executes file browser task over selected files. |taskId| The unique identifier of task to execute. |entries| Array of
entries |callback

  |task-id| - ?
  |entries| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [result] where:

  |result| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

execute-task*cljs

(execute-task* config task-id entries)
source

format-volumeclj/smacro

(format-volume volume-id)

Formats a mounted volume. |volumeId| ID of the volume to be formatted.

|volume-id| - ?

Formats a mounted volume. |volumeId| ID of the volume to be formatted.

|volume-id| - ?
sourceraw docstring

format-volume*cljs

(format-volume* config volume-id)
source

gen-callclj

source

gen-wrapclj/smacro

(gen-wrap kind item-id config & args)
source

get-android-picker-appsclj/smacro

(get-android-picker-apps extensions)

Returns a list of Android picker apps to be shown in file selector.

|extensions| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [apps] where:

|apps| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Returns a list of Android picker apps to be shown in file selector.

  |extensions| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [apps] where:

  |apps| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

get-android-picker-apps*cljs

(get-android-picker-apps* config extensions)
source

get-crostini-shared-pathsclj/smacro

(get-crostini-shared-paths observe-first-for-session vm-name)

Returns list of paths shared with crostini container. |observeFirstForSession| If true, callback provides whether this is the |vmName| VM to get shared paths of. first time this function has been called with observeFirstForSession true.

|observe-first-for-session| - ? |vm-name| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [entries first-for-session] where:

|entries| - ? |first-for-session| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Returns list of paths shared with crostini container. |observeFirstForSession| If true, callback provides whether this is
the |vmName| VM to get shared paths of. first time this function has been called with observeFirstForSession true.

  |observe-first-for-session| - ?
  |vm-name| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [entries first-for-session] where:

  |entries| - ?
  |first-for-session| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

get-crostini-shared-paths*cljs

(get-crostini-shared-paths* config observe-first-for-session vm-name)
source

get-custom-actionsclj/smacro

(get-custom-actions entries)

Requests list of custom actions for the specified entries. If not possible, then an error via chrome.runtime.lastError is returned.

|entries| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [actions] where:

|actions| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Requests list of custom actions for the specified entries. If not possible, then an error via chrome.runtime.lastError is
returned.

  |entries| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [actions] where:

  |actions| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

get-custom-actions*cljs

(get-custom-actions* config entries)
source

get-directory-sizeclj/smacro

(get-directory-size entry)

Get the total size of a directory. |entry| Entry of the target directory. |callback

|entry| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [size] where:

|size| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Get the total size of a directory. |entry| Entry of the target directory. |callback

  |entry| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [size] where:

  |size| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

get-directory-size*cljs

(get-directory-size* config entry)
source

get-download-urlclj/smacro

(get-download-url entry)

Requests a download url to download the file contents. |entry| The entry to download. |callback

|entry| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [url] where:

|url| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Requests a download url to download the file contents. |entry| The entry to download. |callback

  |entry| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [url] where:

  |url| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

get-download-url*cljs

(get-download-url* config entry)
source

get-drive-connection-stateclj/smacro

(get-drive-connection-state)

Retrieves the state of the current drive connection. |callback

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [result] where:

|result| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Retrieves the state of the current drive connection. |callback

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [result] where:

  |result| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

get-drive-connection-state*cljs

(get-drive-connection-state* config)
source

get-entry-propertiesclj/smacro

(get-entry-properties entries names)

Requests additional properties for files. |entries| list of entries |names| list of requested properties by their names. |callback| Completion callback. May return less than requested properties if some are not available. In the same time, it can return properties which were not requested (if it's cheap to compute them).

|entries| - ? |names| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [entry-properties] where:

|entry-properties| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Requests additional properties for files. |entries| list of entries |names| list of requested properties by their names.
|callback| Completion callback. May return less than requested properties     if some are not available. In the same time,
it can return properties     which were not requested (if it's cheap to compute them).

  |entries| - ?
  |names| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [entry-properties] where:

  |entry-properties| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

get-entry-properties*cljs

(get-entry-properties* config entries names)
source

get-file-tasksclj/smacro

(get-file-tasks entries)

Gets the list of tasks that can be performed over selected files. |entries| Array of selected entries |callback

|entries| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [tasks] where:

|tasks| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Gets the list of tasks that can be performed over selected files. |entries| Array of selected entries |callback

  |entries| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [tasks] where:

  |tasks| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

get-file-tasks*cljs

(get-file-tasks* config entries)
source

get-linux-package-infoclj/smacro

(get-linux-package-info entry)

Requests information about a Linux package. |entry| is a .deb file.

|entry| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [linux-package-info] where:

|linux-package-info| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Requests information about a Linux package. |entry| is a .deb file.

  |entry| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [linux-package-info] where:

  |linux-package-info| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

get-linux-package-info*cljs

(get-linux-package-info* config entry)
source

get-mime-typeclj/smacro

(get-mime-type entry)

Gets the MIME type of a file. |entry| Entry to be checked. |callback

|entry| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [result] where:

|result| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Gets the MIME type of a file. |entry| Entry to be checked. |callback

  |entry| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [result] where:

  |result| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

get-mime-type*cljs

(get-mime-type* config entry)
source

get-preferencesclj/smacro

(get-preferences)

Retrieves file manager preferences. |callback

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [result] where:

|result| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Retrieves file manager preferences. |callback

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [result] where:

  |result| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

get-preferences*cljs

(get-preferences* config)
source

get-profilesclj/smacro

(get-profiles)

Obtains a list of profiles that are logged-in.

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [profiles running-profile display-profile] where:

|profiles| - ? |running-profile| - ? |display-profile| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Obtains a list of profiles that are logged-in.

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [profiles running-profile display-profile] where:

  |profiles| - ?
  |running-profile| - ?
  |display-profile| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

get-profiles*cljs

(get-profiles* config)
source

get-providersclj/smacro

(get-providers)

Returns list of available providers.

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [extensions] where:

|extensions| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Returns list of available providers.

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [extensions] where:

  |extensions| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

get-providers*cljs

(get-providers* config)
source

get-recent-filesclj/smacro

(get-recent-files restriction)

Gets recently modified files across file systems. |restriction| Flag to restrict sources of recent files. |callback

|restriction| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [entries] where:

|entries| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Gets recently modified files across file systems. |restriction| Flag to restrict sources of recent files. |callback

  |restriction| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [entries] where:

  |entries| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

get-recent-files*cljs

(get-recent-files* config restriction)
source

get-size-statsclj/smacro

(get-size-stats volume-id)

Retrieves total and remaining size of a mount point. |volumeId| ID of the volume to be checked. |callback

|volume-id| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [size-stats] where:

|size-stats| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Retrieves total and remaining size of a mount point. |volumeId| ID of the volume to be checked. |callback

  |volume-id| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [size-stats] where:

  |size-stats| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

get-size-stats*cljs

(get-size-stats* config volume-id)
source

get-stringsclj/smacro

(get-strings)

Gets localized strings and initialization data. |callback

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [result] where:

|result| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Gets localized strings and initialization data. |callback

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [result] where:

  |result| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

get-strings*cljs

(get-strings* config)
source

get-thumbnailclj/smacro

(get-thumbnail entry crop-to-square)

For a file in DriveFS, retrieves its thumbnail. If |cropToSquare| is true, returns a thumbnail appropriate for file list or grid views; otherwise, returns a thumbnail appropriate for quickview.

|entry| - ? |crop-to-square| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [thumbnail-data-url] where:

|thumbnail-data-url| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

For a file in DriveFS, retrieves its thumbnail. If |cropToSquare| is true, returns a thumbnail appropriate for file list or
grid views; otherwise, returns a thumbnail appropriate for quickview.

  |entry| - ?
  |crop-to-square| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [thumbnail-data-url] where:

  |thumbnail-data-url| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

get-thumbnail*cljs

(get-thumbnail* config entry crop-to-square)
source

get-volume-metadata-listclj/smacro

(get-volume-metadata-list)

Get the list of mounted volumes. |callback

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [volume-metadata-list] where:

|volume-metadata-list| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Get the list of mounted volumes. |callback

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [volume-metadata-list] where:

  |volume-metadata-list| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

get-volume-metadata-list*cljs

(get-volume-metadata-list* config)
source

grant-accessclj/smacro

(grant-access entry-urls)

Requests granting R/W permissions for the passed entries. It's a best effort operation. Some files may not be granted access if the url is invalid or not backed by the external file system. |entryUrls| Urls for the entries to be accessed. |callback

|entry-urls| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Requests granting R/W permissions for the passed entries. It's a best effort operation. Some files may not be granted
access if the url is invalid or not backed by the external file system. |entryUrls| Urls for the entries to be accessed.
|callback

  |entry-urls| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

grant-access*cljs

(grant-access* config entry-urls)
source

install-linux-packageclj/smacro

(install-linux-package entry)

Starts installation of a Linux package.

|entry| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [response failure-reason] where:

|response| - ? |failure-reason| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Starts installation of a Linux package.

  |entry| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [response failure-reason] where:

  |response| - ?
  |failure-reason| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

install-linux-package*cljs

(install-linux-package* config entry)
source

is-piex-loader-enabledclj/smacro

(is-piex-loader-enabled)

Returns if Piex loader is enabled.

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [result] where:

|result| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Returns if Piex loader is enabled.

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [result] where:

  |result| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

is-piex-loader-enabled*cljs

(is-piex-loader-enabled* config)
source

logout-user-for-reauthenticationclj/smacro

(logout-user-for-reauthentication)

Logout the current user for navigating to the re-authentication screen for the Google account.

Logout the current user for navigating to the re-authentication screen for the Google account.
sourceraw docstring

logout-user-for-reauthentication*cljs

(logout-user-for-reauthentication* config)
source

mark-cache-as-mountedclj/smacro

(mark-cache-as-mounted source-path is-mounted)

Marks a cache file of Drive as mounted or unmounted. Does nothing if the file is not under Drive directory. |sourcePath

Mounted source file. Relative file path within external file system. |isMounted| Mark as mounted if true. Mark as unmounted otherwise. |callback| Completion callback. 'runtime.lastError' will be set if there was an error.

|source-path| - ? |is-mounted| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Marks a cache file of Drive as mounted or unmounted. Does nothing if the file is not under Drive directory. |sourcePath

Mounted source file. Relative file path within external file     system. |isMounted| Mark as mounted if true. Mark as
unmounted otherwise. |callback| Completion callback. 'runtime.lastError' will be set if     there was an error.

  |source-path| - ?
  |is-mounted| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

mark-cache-as-mounted*cljs

(mark-cache-as-mounted* config source-path is-mounted)
source

mount-crostiniclj/smacro

(mount-crostini)

Starts and mounts crostini container. |callback

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Starts and mounts crostini container. |callback

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

mount-crostini*cljs

(mount-crostini* config)
source

on-apps-updated*cljs

(on-apps-updated* config channel & args)
source

on-copy-progress*cljs

(on-copy-progress* config channel & args)
source

on-crostini-changed*cljs

(on-crostini-changed* config channel & args)
source

on-device-changed*cljs

(on-device-changed* config channel & args)
source

on-directory-changed*cljs

(on-directory-changed* config channel & args)
source

on-drive-connection-status-changed*cljs

(on-drive-connection-status-changed* config channel & args)
source

on-drive-sync-error*cljs

(on-drive-sync-error* config channel & args)
source

on-file-transfers-updated*cljs

(on-file-transfers-updated* config channel & args)
source

on-mount-completed*cljs

(on-mount-completed* config channel & args)
source

on-preferences-changed*cljs

(on-preferences-changed* config channel & args)
source

open-inspectorclj/smacro

(open-inspector type)

Opens inspector window. |type| InspectionType which specifies how to open inspector.

|type| - ?

Opens inspector window. |type| InspectionType which specifies how to open inspector.

|type| - ?
sourceraw docstring

open-inspector*cljs

(open-inspector* config type)
source

open-settings-subpageclj/smacro

(open-settings-subpage sub-page)

Opens page in Settings window. |sub_page| Name of a sub_page to show.

|sub-page| - ?

Opens page in Settings window. |sub_page| Name of a sub_page to show.

|sub-page| - ?
sourceraw docstring

open-settings-subpage*cljs

(open-settings-subpage* config sub-page)
source

pin-drive-fileclj/smacro

(pin-drive-file entry pin)

Pins/unpins a Drive file in the cache. |entry| Entry to pin/unpin. |pin| Pass true to pin the file. |callback| Completion callback. 'runtime.lastError' will be set if there was an error.

|entry| - ? |pin| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Pins/unpins a Drive file in the cache. |entry| Entry to pin/unpin. |pin| Pass true to pin the file. |callback| Completion
callback. 'runtime.lastError' will be set if     there was an error.

  |entry| - ?
  |pin| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

pin-drive-file*cljs

(pin-drive-file* config entry pin)
source

remove-file-watchclj/smacro

(remove-file-watch entry)

Removes file watch. |entry| Watched entry |callback

|entry| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [success] where:

|success| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Removes file watch. |entry| Watched entry |callback

  |entry| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [success] where:

  |success| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

remove-file-watch*cljs

(remove-file-watch* config entry)
source

remove-mountclj/smacro

(remove-mount volume-id)

Unmounts a mounted resource. |volumeId| An ID of the volume.

|volume-id| - ?

Unmounts a mounted resource. |volumeId| An ID of the volume.

|volume-id| - ?
sourceraw docstring

remove-mount*cljs

(remove-mount* config volume-id)
source

rename-volumeclj/smacro

(rename-volume volume-id new-name)

Renames a mounted volume. |volumeId| ID of the volume to be renamed. |newName| New name of the target volume.

|volume-id| - ? |new-name| - ?

Renames a mounted volume. |volumeId| ID of the volume to be renamed. |newName| New name of the target volume.

|volume-id| - ?
|new-name| - ?
sourceraw docstring

rename-volume*cljs

(rename-volume* config volume-id new-name)
source

request-access-tokenclj/smacro

(request-access-token refresh)

Requests a Drive API OAuth2 access token. |refresh| Whether the token should be refetched instead of using the cached one. |callback

|refresh| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [access-token] where:

|access-token| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Requests a Drive API OAuth2 access token. |refresh| Whether the token should be refetched instead of using the cached
one. |callback

  |refresh| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [access-token] where:

  |access-token| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

request-access-token*cljs

(request-access-token* config refresh)
source

request-drive-shareclj/smacro

(request-drive-share entry share-type)

Requests to share drive files. |entry| Entry to be shared. |shareType| Type of access that is getting granted.

|entry| - ? |share-type| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Requests to share drive files. |entry| Entry to be shared. |shareType| Type of access that is getting granted.

  |entry| - ?
  |share-type| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

request-drive-share*cljs

(request-drive-share* config entry share-type)
source

request-web-store-access-tokenclj/smacro

(request-web-store-access-token)

Requests a Webstore API OAuth2 access token. |callback

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [access-token] where:

|access-token| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Requests a Webstore API OAuth2 access token. |callback

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [access-token] where:

  |access-token| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

request-web-store-access-token*cljs

(request-web-store-access-token* config)
source

resolve-isolated-entriesclj/smacro

(resolve-isolated-entries entries)

Resolves entries in the isolated file system and returns corresponding entries in the external file system mounted to Chrome OS file manager backend. If resolving entry fails, the entry will be just ignored and the corresponding entry does not appear in the result.

|entries| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [entries] where:

|entries| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Resolves entries in the isolated file system and returns corresponding entries in the external file system mounted to
Chrome OS file manager backend. If resolving entry fails, the entry will be just ignored and the corresponding entry does
not appear in the result.

  |entries| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [entries] where:

  |entries| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

resolve-isolated-entries*cljs

(resolve-isolated-entries* config entries)
source

search-driveclj/smacro

(search-drive search-params)

Performs drive content search. |searchParams| |callback

|search-params| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [entries next-feed] where:

|entries| - ? |next-feed| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Performs drive content search. |searchParams| |callback

  |search-params| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [entries next-feed] where:

  |entries| - ?
  |next-feed| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

search-drive*cljs

(search-drive* config search-params)
source

search-drive-metadataclj/smacro

(search-drive-metadata search-params)

Performs drive metadata search. |searchParams| |callback

|search-params| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [results] where:

|results| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Performs drive metadata search. |searchParams| |callback

  |search-params| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [results] where:

  |results| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

search-drive-metadata*cljs

(search-drive-metadata* config search-params)
source

search-filesclj/smacro

(search-files search-params)

Search files in My Files.

|search-params| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [entries] where:

|entries| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Search files in My Files.

  |search-params| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [entries] where:

  |entries| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

search-files*cljs

(search-files* config search-params)
source

search-files-by-hashesclj/smacro

(search-files-by-hashes volume-id hash-list)

Search files in the volume having |volumeId| by using |hashList|. sub-directories) the given |targetDirectoryUrl|.

|volume-id| - ? |hash-list| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [urls] where:

|urls| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Search files in the volume having |volumeId| by using |hashList|. sub-directories) the given |targetDirectoryUrl|.

  |volume-id| - ?
  |hash-list| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [urls] where:

  |urls| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

search-files-by-hashes*cljs

(search-files-by-hashes* config volume-id hash-list)
source

select-android-picker-appclj/smacro

(select-android-picker-app android-app)

Called when the user selects an Android picker app in file selector.

|android-app| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Called when the user selects an Android picker app in file selector.

  |android-app| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

select-android-picker-app*cljs

(select-android-picker-app* config android-app)
source

select-fileclj/smacro

(select-file selected-path index for-opening should-return-local-path)

Selects a file. |selectedPath| A selected path |index| Index of Filter |forOpening| true if paths are selected for opening. false if for saving. |shouldReturnLocalPath| true if paths need to be resolved to local paths. |callback

|selected-path| - ? |index| - ? |for-opening| - ? |should-return-local-path| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Selects a file. |selectedPath| A selected path |index| Index of Filter |forOpening| true if paths are selected for opening.
false if for saving. |shouldReturnLocalPath| true if paths need to be resolved to local paths. |callback

  |selected-path| - ?
  |index| - ?
  |for-opening| - ?
  |should-return-local-path| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

select-file*cljs

(select-file* config selected-path index for-opening should-return-local-path)
source

select-filesclj/smacro

(select-files selected-paths should-return-local-path)

Selects multiple files. |selectedPaths| Array of selected paths |shouldReturnLocalPath| true if paths need to be resolved to local paths. |callback

|selected-paths| - ? |should-return-local-path| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Selects multiple files. |selectedPaths| Array of selected paths |shouldReturnLocalPath| true if paths need to be resolved
to local paths. |callback

  |selected-paths| - ?
  |should-return-local-path| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

select-files*cljs

(select-files* config selected-paths should-return-local-path)
source

set-arc-storage-toast-shown-flagclj/smacro

(set-arc-storage-toast-shown-flag)

Sets the flag for remembering if the toast UI for ARC storage has already been shown. |callback| Completion callback with the original value of the flag.

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [result] where:

|result| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Sets the flag for remembering if the toast UI for ARC storage has already been shown. |callback| Completion callback with
the original value of the flag.

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [result] where:

  |result| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

set-arc-storage-toast-shown-flag*cljs

(set-arc-storage-toast-shown-flag* config)
source

set-default-taskclj/smacro

(set-default-task task-id entries mime-types)

Sets the default task for the supplied MIME types and path extensions. Lists of MIME types and URLs may contain duplicates. Additionally, the list of MIME types can be empty. |taskId| The unique identifier of task to mark as default. |entries

Array of selected entries to extract path extensions from. |mimeTypes| Array of selected file MIME types. |callback

|task-id| - ? |entries| - ? |mime-types| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Sets the default task for the supplied MIME types and path extensions. Lists of MIME types and URLs may contain duplicates.
Additionally, the list of MIME types can be empty. |taskId| The unique identifier of task to mark as default. |entries

Array of selected entries to extract path extensions from. |mimeTypes| Array of selected file MIME types. |callback

  |task-id| - ?
  |entries| - ?
  |mime-types| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

set-default-task*cljs

(set-default-task* config task-id entries mime-types)
source

set-entry-tagclj/smacro

(set-entry-tag entry visibility key value)

Sets a tag on a file or a directory. Only Drive files are supported.

|entry| - ? |visibility| - ? |key| - ? |value| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Sets a tag on a file or a directory. Only Drive files are supported.

  |entry| - ?
  |visibility| - ?
  |key| - ?
  |value| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

set-entry-tag*cljs

(set-entry-tag* config entry visibility key value)
source

set-preferencesclj/smacro

(set-preferences change-info)

Sets file manager preferences. |changeInfo

|change-info| - ?

Sets file manager preferences. |changeInfo

|change-info| - ?
sourceraw docstring

set-preferences*cljs

(set-preferences* config change-info)
source

share-paths-with-crostiniclj/smacro

(share-paths-with-crostini vm-name entries persist)

Shares paths with crostini container. |vmName| VM to share path with. |entries| Entries of the files or directories to share. |persist| If true, shares will persist across restarts. |callback

|vm-name| - ? |entries| - ? |persist| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Shares paths with crostini container. |vmName| VM to share path with. |entries| Entries of the files or directories to
share. |persist| If true, shares will persist across restarts. |callback

  |vm-name| - ?
  |entries| - ?
  |persist| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

share-paths-with-crostini*cljs

(share-paths-with-crostini* config vm-name entries persist)
source

start-copyclj/smacro

(start-copy entry parent-entry new-name)

Starts to copy an entry. If the source is a directory, the copy is done recursively. |entry| Entry of the source entry to be copied. |parentEntry| Entry for the destination (parent) directory. |newName| Name of the new entry. It must not contain '/'. |callback| Completion callback.

|entry| - ? |parent-entry| - ? |new-name| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [copy-id] where:

|copy-id| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Starts to copy an entry. If the source is a directory, the copy is done recursively. |entry| Entry of the source entry to
be copied. |parentEntry| Entry for the destination (parent) directory. |newName| Name of the new entry. It must not contain
'/'. |callback| Completion callback.

  |entry| - ?
  |parent-entry| - ?
  |new-name| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [copy-id] where:

  |copy-id| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

start-copy*cljs

(start-copy* config entry parent-entry new-name)
source

tap-all-eventsclj/smacro

(tap-all-events chan)

Taps all valid non-deprecated events in chromex.ext.file-manager-private namespace.

Taps all valid non-deprecated events in chromex.ext.file-manager-private namespace.
sourceraw docstring

tap-on-apps-updated-eventsclj/smacro

(tap-on-apps-updated-events channel & args)

Events will be put on the |channel| with signature [::on-apps-updated []].

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

Events will be put on the |channel| with signature [::on-apps-updated []].

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
sourceraw docstring

tap-on-copy-progress-eventsclj/smacro

(tap-on-copy-progress-events channel & args)

Events will be put on the |channel| with signature [::on-copy-progress [copy-id status]] where:

|copy-id| - ? |status| - ?

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

Events will be put on the |channel| with signature [::on-copy-progress [copy-id status]] where:

  |copy-id| - ?
  |status| - ?

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
sourceraw docstring

tap-on-crostini-changed-eventsclj/smacro

(tap-on-crostini-changed-events channel & args)

Events will be put on the |channel| with signature [::on-crostini-changed [event]] where:

|event| - ?

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

Events will be put on the |channel| with signature [::on-crostini-changed [event]] where:

  |event| - ?

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
sourceraw docstring

tap-on-device-changed-eventsclj/smacro

(tap-on-device-changed-events channel & args)

Events will be put on the |channel| with signature [::on-device-changed [event]] where:

|event| - ?

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

Events will be put on the |channel| with signature [::on-device-changed [event]] where:

  |event| - ?

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
sourceraw docstring

tap-on-directory-changed-eventsclj/smacro

(tap-on-directory-changed-events channel & args)

Events will be put on the |channel| with signature [::on-directory-changed [event]] where:

|event| - ?

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

Events will be put on the |channel| with signature [::on-directory-changed [event]] where:

  |event| - ?

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
sourceraw docstring

tap-on-drive-connection-status-changed-eventsclj/smacro

(tap-on-drive-connection-status-changed-events channel & args)

Events will be put on the |channel| with signature [::on-drive-connection-status-changed []].

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

Events will be put on the |channel| with signature [::on-drive-connection-status-changed []].

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
sourceraw docstring

tap-on-drive-sync-error-eventsclj/smacro

(tap-on-drive-sync-error-events channel & args)

Events will be put on the |channel| with signature [::on-drive-sync-error [event]] where:

|event| - ?

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

Events will be put on the |channel| with signature [::on-drive-sync-error [event]] where:

  |event| - ?

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
sourceraw docstring

tap-on-file-transfers-updated-eventsclj/smacro

(tap-on-file-transfers-updated-events channel & args)

Events will be put on the |channel| with signature [::on-file-transfers-updated [event]] where:

|event| - ?

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

Events will be put on the |channel| with signature [::on-file-transfers-updated [event]] where:

  |event| - ?

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
sourceraw docstring

tap-on-mount-completed-eventsclj/smacro

(tap-on-mount-completed-events channel & args)

Events will be put on the |channel| with signature [::on-mount-completed [event]] where:

|event| - ?

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

Events will be put on the |channel| with signature [::on-mount-completed [event]] where:

  |event| - ?

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
sourceraw docstring

tap-on-preferences-changed-eventsclj/smacro

(tap-on-preferences-changed-events channel & args)

Events will be put on the |channel| with signature [::on-preferences-changed []].

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

Events will be put on the |channel| with signature [::on-preferences-changed []].

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
sourceraw docstring

unshare-path-with-crostiniclj/smacro

(unshare-path-with-crostini vm-name entry)

Unshares path with crostini container. |vmName| VM to unshare path from. |entry| Entry of the file or directory to unshare. |callback

|vm-name| - ? |entry| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Unshares path with crostini container. |vmName| VM to unshare path from. |entry| Entry of the file or directory to unshare.
|callback

  |vm-name| - ?
  |entry| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

unshare-path-with-crostini*cljs

(unshare-path-with-crostini* config vm-name entry)
source

validate-path-name-lengthclj/smacro

(validate-path-name-length parent-entry name)

Checks whether the path name length fits in the limit of the filesystem. |parentEntry| The entry of the parent directory entry. |name| The name of the file. |callback| Called back when the check is finished.

|parent-entry| - ? |name| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [result] where:

|result| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Checks whether the path name length fits in the limit of the filesystem. |parentEntry| The entry of the parent directory
entry. |name| The name of the file. |callback| Called back when the check is finished.

  |parent-entry| - ?
  |name| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [result] where:

  |result| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

validate-path-name-length*cljs

(validate-path-name-length* config parent-entry name)
source

zip-selectionclj/smacro

(zip-selection entries parent-entry dest-name)

Create a zip file for the selected files. |parentEntry| Entry of the directory containing the selected files. |entries

Entries of the selected files. The files must be under the directory specified by |parentEntry|. |destName| Name of the destination zip file. The zip file will be created under the directory specified by |parentEntry|. |callback

|entries| - ? |parent-entry| - ? |dest-name| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [success] where:

|success| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Create a zip file for the selected files. |parentEntry| Entry of the directory containing the selected files. |entries

Entries of the selected files. The files must be under the     directory specified by |parentEntry|. |destName| Name of the
destination zip file. The zip file will be created     under the directory specified by |parentEntry|. |callback

  |entries| - ?
  |parent-entry| - ?
  |dest-name| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [success] where:

  |success| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

zip-selection*cljs

(zip-selection* config entries parent-entry dest-name)
source

zoomclj/smacro

(zoom operation)

Changes the zoom factor of the Files app. |operation| Zooming mode.

|operation| - ?

Changes the zoom factor of the Files app. |operation| Zooming mode.

|operation| - ?
sourceraw docstring

zoom*cljs

(zoom* config operation)
source

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

× close