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)
(add-mount source password)

Mounts a resource or a file. |source| Mount point source. For compressed files it is the relative file path within the external file system. |password| Optional password to decrypt the file. |callback| Callback called with the source path of the mount.

|source| - ? |password| - ?

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.

Mounts a resource or a file. |source| Mount point source. For compressed files it is the relative file     path within the
external file system. |password| Optional password to decrypt the file. |callback| Callback called with the source path of
the mount.

  |source| - ?
  |password| - ?

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 password)
source

add-provided-file-systemclj/smacro

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

Requests adding a new provided file system. On failure, sets 'runtime.lastError'.

|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. On failure, sets 'runtime.lastError'.

  |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

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. On failure, sets '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. On failure, sets '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

copy-image-to-clipboardclj/smacro

(copy-image-to-clipboard entry)

Copies an image to the system clipboard. |entry| Entry of the image to copy to the system clipboard.

|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.

Copies an image to the system clipboard. |entry| Entry of the image to copy to the system clipboard.

  |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

copy-image-to-clipboard*cljs

(copy-image-to-clipboard* config entry)
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

execute-custom-actionclj/smacro

(execute-custom-action entries action-id)

Executes a custom action for a set of entries. On failure, sets 'runtime.lastError'.

|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. On failure, sets 'runtime.lastError'.

  |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 filesystem volume-label)

Formats a mounted volume. |volumeId| ID of the volume to be formatted. |filesystem| Filesystem type to be formatted to. |volumeLabel| Label of the drive after formatting.

|volume-id| - ? |filesystem| - ? |volume-label| - ?

Formats a mounted volume. |volumeId| ID of the volume to be formatted. |filesystem| Filesystem type to be formatted to.
|volumeLabel| Label of the drive after formatting.

  |volume-id| - ?
  |filesystem| - ?
  |volume-label| - ?
sourceraw docstring

format-volume*cljs

(format-volume* config volume-id filesystem volume-label)
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-content-metadataclj/smacro

(get-content-metadata file-entry mime-type include-images)

Gets metadata from an Audio or Video file. |fileEntry| The file entry to be checked. |mimeType| Content sniffed mimeType of the file. |includeImages| False returns metadata tags only. True returns metadata tags and metadata (thumbnail) images. |callback

|file-entry| - ? |mime-type| - ? |include-images| - ?

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 metadata from an Audio or Video file. |fileEntry| The file entry to be checked. |mimeType| Content sniffed mimeType of
the file. |includeImages| False returns metadata tags only. True returns     metadata tags and metadata (thumbnail) images.
|callback

  |file-entry| - ?
  |mime-type| - ?
  |include-images| - ?

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-content-metadata*cljs

(get-content-metadata* config file-entry mime-type include-images)
source

get-content-mime-typeclj/smacro

(get-content-mime-type file-entry)

Gets the content sniffed MIME type of a file. |fileEntry| The file entry to be checked. |callback

|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 [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 content sniffed MIME type of a file. |fileEntry| The file entry to be checked. |callback

  |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 [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-content-mime-type*cljs

(get-content-mime-type* config file-entry)
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. On failure, sets 'runtime.lastError'.

|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. On failure, sets 'runtime.lastError'.

  |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-drive-thumbnailclj/smacro

(get-drive-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-drive-thumbnail*cljs

(get-drive-thumbnail* config entry crop-to-square)
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-holding-space-stateclj/smacro

(get-holding-space-state)

Retrieves the current holding space state, for example the list of items the holding space currently contains. |callback

The result 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 [state] where:

|state| - ?

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 current holding space state, for example the list of items the holding space currently contains. |callback

The result 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 [state] where:

  |state| - ?

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-holding-space-state*cljs

(get-holding-space-state* config)
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 an entry. |entry| The 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 an entry. |entry| The 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-pdf-thumbnailclj/smacro

(get-pdf-thumbnail entry width height)

For a local PDF file, retrieves its thumbnail with a given |width| and |height|.

|entry| - ? |width| - ? |height| - ?

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 local PDF file, retrieves its thumbnail with a given |width| and |height|.

  |entry| - ?
  |width| - ?
  |height| - ?

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-pdf-thumbnail*cljs

(get-pdf-thumbnail* config entry width height)
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 file-type)

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

Requested file type to filter recent files. |callback

|restriction| - ? |file-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 [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. |fileType

Requested file type to filter recent files. |callback

  |restriction| - ?
  |file-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 [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 file-type)
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-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

import-crostini-imageclj/smacro

(import-crostini-image entry)

Imports a Crostini Image File (.tini). This overrides the existing Linux apps and files.

|entry| - ?

Imports a Crostini Image File (.tini). This overrides the existing Linux apps and files.

|entry| - ?
sourceraw docstring

import-crostini-image*cljs

(import-crostini-image* config entry)
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

invoke-sharesheetclj/smacro

(invoke-sharesheet entries)

Invoke Sharesheet for 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 [].

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.

Invoke Sharesheet for 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 [].

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

invoke-sharesheet*cljs

(invoke-sharesheet* config entries)
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

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-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|.

|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 [paths] where:

|paths| - ?

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|.

  |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 [paths] where:

  |paths| - ?

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-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-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

sharesheet-has-targetsclj/smacro

(sharesheet-has-targets entries)

Return true if sharesheet contains share targets for entries. |entries| Array of selected entries |callback| is called with error in case of failure and with no arguments if successfully launched the Sharesheet dialog, but before user has finished the sharing.

|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.

Return true if sharesheet contains share targets for entries. |entries| Array of selected entries |callback| is called with
error in case of failure and with no arguments if successfully launched the Sharesheet dialog, but before user has finished
the sharing.

  |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

sharesheet-has-targets*cljs

(sharesheet-has-targets* config entries)
source

single-partition-formatclj/smacro

(single-partition-format device-storage-path filesystem volume-label)

Deletes partitions of removable device, creates a new partition and format it. |deviceStoragePath| Storage path of the device to be formatted. |filesystem| Filesystem type to be formatted to. |volumeLabel| Label of the drive after formatting.

|device-storage-path| - ? |filesystem| - ? |volume-label| - ?

Deletes partitions of removable device, creates a new partition and format it. |deviceStoragePath| Storage path of the
device to be formatted. |filesystem| Filesystem type to be formatted to. |volumeLabel| Label of the drive after formatting.

  |device-storage-path| - ?
  |filesystem| - ?
  |volume-label| - ?
sourceraw docstring

single-partition-format*cljs

(single-partition-format* config device-storage-path filesystem volume-label)
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

toggle-added-to-holding-spaceclj/smacro

(toggle-added-to-holding-space entries added)

Adds or removes a list of entries to temporary holding space. Any entries whose current holding space state matches the intended state will be skipped. |entries| The list of entries whose holding space needs to be updated. |add| Whether items should be added or removed from the holding space. |callback| Completion callback.

|entries| - ? |added| - ?

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.

Adds or removes a list of entries to temporary holding space. Any entries whose current holding space state matches the
intended state will be skipped. |entries| The list of entries whose holding space needs to be updated. |add| Whether items
should be added or removed from the holding space. |callback| Completion callback.

  |entries| - ?
  |added| - ?

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

toggle-added-to-holding-space*cljs

(toggle-added-to-holding-space* config entries added)
source

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