Constants

jetstream.constants.API_VERSION = 27

Version of the API spoken by this Python package.

jetstream.constants.BUILD_VERSION = (1, 9, 0)

Version of Jetstream this Python package came from.

jetstream.constants.DEFAULT_API_PORT = 8886

By default, the API will connect to a server using the following TCP control port.

jetstream.constants.DEFAULT_SERVER_ADDRESS = 'localhost'

By default, the API will attempt to connect to a server running on ‘localhost’.

jetstream.constants.DEFAULT_TIMEOUT_SECONDS = 10

By default, connection attempts will timeout and fail if unresponsive for 10 seconds.

jetstream.constants.FILETYPE_DIRECTORY = 2

Identify a manifest mapping item as a directory.

Type:Manifest flags
jetstream.constants.FILETYPE_REGULAR_FILE = 4

Identify a manifest mapping item as a regular file.

Type:Manifest flags
jetstream.constants.OVERWRITE_IN_PLACE_ALWAYS = 1

Always overwrite existing files, regardless of size.

Type:Overwrite Mode
jetstream.constants.OVERWRITE_IN_PLACE_NEVER = 0

Never overwrite existing files.

Type:Overwrite Mode
jetstream.constants.OVERWRITE_IN_PLACE_SAME_SIZE = 2

Overwrite files only if the existing file is same or zero (0) size.

Type:Overwrite Mode
jetstream.constants.OVERWRITE_WITH_PARTFILE_ALWAYS = 4

Use partfiles, and overwrite existing files.

Type:Overwrite Mode
jetstream.constants.OVERWRITE_WITH_PARTFILE_BACKUP = 5

Use partfiles, and overwrite existing files. The original file will be backed up with a .jetbak extension.

Type:Overwrite Mode
jetstream.constants.OVERWRITE_WITH_PARTFILE_NEVER = 3

Use partfiles, and never overwrite existing files. Instead of overwriting, the partfile will be left in place.

Type:Overwrite Mode

Follow the symlink and copy the file contents.

Type:Symbolic Links

Ignore (do not copy) symbolic links.

Type:Symbolic Links
jetstream.constants.TRANSFER_FLAG_NONE = 0

Disable both read and write flags. This is most useful for performance and network debugging.

Type:Transfer flags
jetstream.constants.TRANSFER_FLAG_READ = 1

Enable read flag. Transfers with this flag will skip writing to disk at destination, and will only read at sender side. This is most useful for performance and network debugging.

Type:Transfer flags
jetstream.constants.TRANSFER_FLAG_READ_WRITE = 3

Enable both read and write flags. This is the default value.

Type:Transfer flags
jetstream.constants.TRANSFER_FLAG_WRITE = 2

Enable write flag. Transfers with this flag will will skip reading from disk, and will only write at the destination. This is most useful for performance and network debugging.

Type:Transfer flags