--- /tmp/xrootd-5.0.3-4p4qc41hq/debian/xrootd-doc_5.0.3-4_all.deb +++ xrootd-doc_5.0.3-4_all.deb ├── file list │ @@ -1,3 +1,3 @@ │ -rw-r--r-- 0 0 0 4 2020-12-19 18:58:41.000000 debian-binary │ --rw-r--r-- 0 0 0 250604 2020-12-19 18:58:41.000000 control.tar.xz │ --rw-r--r-- 0 0 0 79157076 2020-12-19 18:58:41.000000 data.tar.xz │ +-rw-r--r-- 0 0 0 250596 2020-12-19 18:58:41.000000 control.tar.xz │ +-rw-r--r-- 0 0 0 79157052 2020-12-19 18:58:41.000000 data.tar.xz ├── control.tar.xz │ ├── control.tar │ │ ├── ./control │ │ │ @@ -1,13 +1,13 @@ │ │ │ Package: xrootd-doc │ │ │ Source: xrootd │ │ │ Version: 5.0.3-4 │ │ │ Architecture: all │ │ │ Maintainer: Mattias Ellert │ │ │ -Installed-Size: 173895 │ │ │ +Installed-Size: 173894 │ │ │ Depends: libjs-sphinxdoc (>= 2.4.3-5~) │ │ │ Built-Using: sphinx (= 3.3.1-1) │ │ │ Section: doc │ │ │ Priority: optional │ │ │ Multi-Arch: foreign │ │ │ Homepage: http://xrootd.org/ │ │ │ Description: Developer documentation for the xrootd libraries │ │ ├── ./md5sums │ │ │ ├── ./md5sums │ │ │ │┄ Files differ ├── data.tar.xz │ ├── data.tar │ │ ├── file list │ │ │ @@ -12350,35 +12350,35 @@ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/_static/img/ │ │ │ -rw-r--r-- 0 root (0) root (0) 2936 2020-11-10 08:42:04.000000 ./usr/share/doc/xrootd/python/_static/img/favicon.ico.gz │ │ │ -rw-r--r-- 0 root (0) root (0) 14979 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/_static/img/xrootd-200x68.png │ │ │ -rw-r--r-- 0 root (0) root (0) 90 2020-08-13 15:46:39.000000 ./usr/share/doc/xrootd/python/_static/minus.png │ │ │ -rw-r--r-- 0 root (0) root (0) 90 2020-08-13 15:46:39.000000 ./usr/share/doc/xrootd/python/_static/plus.png │ │ │ -rw-r--r-- 0 root (0) root (0) 4780 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/_static/pygments.css │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/examples/ │ │ │ --rw-r--r-- 0 root (0) root (0) 15366 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/examples/copyprocess.html │ │ │ --rw-r--r-- 0 root (0) root (0) 20466 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/examples/file.html │ │ │ --rw-r--r-- 0 root (0) root (0) 17834 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/examples/filesystem.html │ │ │ --rw-r--r-- 0 root (0) root (0) 8163 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/examples.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 15266 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/examples/copyprocess.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 20338 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/examples/file.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 17658 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/examples/filesystem.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 7999 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/examples.html │ │ │ -rw-r--r-- 0 root (0) root (0) 19839 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/genindex.html │ │ │ --rw-r--r-- 0 root (0) root (0) 14395 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/gettingstarted.html │ │ │ --rw-r--r-- 0 root (0) root (0) 8972 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/index.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 14347 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/gettingstarted.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 8963 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/index.html │ │ │ -rw-r--r-- 0 root (0) root (0) 5679 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/install.html │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/modules/ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/modules/client/ │ │ │ -rw-r--r-- 0 root (0) root (0) 14106 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/modules/client/copyprocess.html │ │ │ --rw-r--r-- 0 root (0) root (0) 30389 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/modules/client/file.html │ │ │ --rw-r--r-- 0 root (0) root (0) 41501 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/modules/client/filesystem.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 30391 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/modules/client/file.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 41494 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/modules/client/filesystem.html │ │ │ -rw-r--r-- 0 root (0) root (0) 20666 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/modules/client/flags.html │ │ │ --rw-r--r-- 0 root (0) root (0) 27348 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/modules/client/responses.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 27352 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/modules/client/responses.html │ │ │ -rw-r--r-- 0 root (0) root (0) 10172 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/modules/client/url.html │ │ │ -rw-r--r-- 0 root (0) root (0) 11827 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/modules/client/utils.html │ │ │ -rw-r--r-- 0 root (0) root (0) 1096 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/objects.inv │ │ │ -rw-r--r-- 0 root (0) root (0) 4720 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/py-modindex.html │ │ │ -rw-r--r-- 0 root (0) root (0) 3576 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/search.html │ │ │ --rw-r--r-- 0 root (0) root (0) 14148 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/searchindex.js │ │ │ +-rw-r--r-- 0 root (0) root (0) 14101 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/searchindex.js │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd-doc/ │ │ │ -rw-r--r-- 0 root (0) root (0) 345 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd-doc/changelog.Debian.gz │ │ │ -rw-r--r-- 0 root (0) root (0) 8939 2020-11-16 09:50:38.000000 ./usr/share/doc/xrootd-doc/copyright │ │ │ lrwxrwxrwx 0 root (0) root (0) 0 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/_static/doctools.js -> ../../../../javascript/sphinxdoc/1.0/doctools.js │ │ │ lrwxrwxrwx 0 root (0) root (0) 0 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/_static/jquery.js -> ../../../../javascript/sphinxdoc/1.0/jquery.js │ │ │ lrwxrwxrwx 0 root (0) root (0) 0 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/_static/language_data.js -> ../../../../javascript/sphinxdoc/1.0/language_data.js │ │ │ lrwxrwxrwx 0 root (0) root (0) 0 2020-12-19 18:58:41.000000 ./usr/share/doc/xrootd/python/_static/searchtools.js -> ../../../../javascript/sphinxdoc/1.0/searchtools.js │ │ ├── ./usr/share/doc/xrootd/python/examples/copyprocess.html │ │ │ @@ -1,59 +1,59 @@ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - 3.3. CopyProcess examples — pyxrootd current documentation │ │ │ + 3. CopyProcess examples — pyxrootd current documentation │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - │ │ │ + │ │ │ │ │ │ │ │ │ │ │ │
│ │ │
│ │ │
│ │ │
│ │ │ │ │ │
│ │ │ -

3.3. CopyProcess examples

│ │ │ +

3. CopyProcess examples

│ │ │
│ │ │ -

3.3.1. Add a number of copy jobs and run them in parallel with a progress handler

│ │ │ +

3.1. Add a number of copy jobs and run them in parallel with a progress handler

│ │ │
from XRootD import client
│ │ │  
│ │ │  class MyCopyProgressHandler(client.utils.CopyProgressHandler):
│ │ │    def begin(self, jobId, total, source, target):
│ │ │      print 'id: %d, total: %d' % (jobId, total)
│ │ │      print 'source: %s' % source
│ │ │      print 'target: %s' % target
│ │ │ @@ -117,23 +117,23 @@
│ │ │        
│ │ │  
│ │ │

API Reference

│ │ ├── ./usr/share/doc/xrootd/python/modules/client/file.html │ │ │ @@ -97,16 +97,16 @@ │ │ │
│ │ │
Returns
│ │ │

tuple containing XRootD.client.responses.XRootDStatus │ │ │ object and None

│ │ │
│ │ │
│ │ │

As of Python 2.5, you can avoid having to call this method explicitly if you │ │ │ -use the with statement. For example, the following code will │ │ │ -automatically close f when the with block is exited:

│ │ │ +use the with statement. For example, the following code will │ │ │ +automatically close f when the with block is exited:

│ │ │
from __future__ import with_statement # This isn't required in Python 2.6
│ │ │  
│ │ │  with client.File() as f:
│ │ │    f.open("root://someserver//somefile")
│ │ │    for line in f:
│ │ │      print line,
│ │ │  
│ │ ├── ./usr/share/doc/xrootd/python/modules/client/filesystem.html │ │ │ @@ -14,30 +14,30 @@ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - │ │ │ + │ │ │ │ │ │ │ │ │ │ │ │
│ │ │ @@ -369,15 +369,15 @@ │ │ │
│ │ │
│ │ │ FileSystem.prepare(files, flags, priority=0, timeout=0, callback=None)[source]
│ │ │

Prepare one or more files for access.

│ │ │
│ │ │
Parameters
│ │ │
    │ │ │ -
  • files (list) – list of files to be prepared

  • │ │ │ +
  • files (list) – list of files to be prepared

  • │ │ │
  • flags – An ORed combination of │ │ │ XRootD.client.flags.PrepareFlags

  • │ │ │
  • priority (integer) – priority of the request 0 (lowest) - 3 (highest)

  • │ │ │
│ │ │
│ │ │
Returns
│ │ │

tuple containing XRootD.client.responses.XRootDStatus │ │ │ @@ -438,15 +438,15 @@ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │

Previous topic

│ │ │

3.3. CopyProcess examples

│ │ │ + title="previous chapter">3. CopyProcess examples

│ │ │

Next topic

│ │ │

2. XRootD.client.File: File-based operations

│ │ │
│ │ │

This Page

│ │ │ │ │ │
│ │ │
Variables
│ │ │
    │ │ │
  • message – Message describing the status of this request

  • │ │ │
  • ok – The request was successful

  • │ │ │
  • error – Error making request

  • │ │ │
  • fatal – Fatal error making request

  • │ │ │
  • status – Status of the request

  • │ │ │ -
  • code – Error type, or additional hints on what to do

  • │ │ │ +
  • code – Error type, or additional hints on what to do

  • │ │ │
  • shellcode – Status code that may be returned to the shell

  • │ │ │ -
  • errno – Errno, if any

  • │ │ │ +
  • errno – Errno, if any

  • │ │ │
│ │ │
│ │ │
│ │ │
│ │ │ │ │ │
│ │ │
│ │ │ @@ -120,15 +120,15 @@ │ │ │
│ │ │
│ │ │ class XRootD.client.responses.StatInfo[source]
│ │ │

Status information for files and directories.

│ │ │
│ │ │
Variables
│ │ │
    │ │ │ -
  • id – This file’s unique identifier

  • │ │ │ +
  • id – This file’s unique identifier

  • │ │ │
  • flags – Informational flags. An ORed combination of │ │ │ XRootD.client.flags.StatInfoFlags

  • │ │ │
  • size – The file size (in bytes)

  • │ │ │
  • modtime – Modification time (in seconds since epoch)

  • │ │ │
  • modtimestr – Modification time (as readable string)

  • │ │ │
│ │ │
│ │ │ @@ -228,15 +228,15 @@ │ │ │
│ │ │ class XRootD.client.responses.Location[source]
│ │ │

Information about a single location.

│ │ │
│ │ │
Variables
│ │ │
    │ │ │
  • address – The address of this location

  • │ │ │ -
  • type – The type of this location, one of │ │ │ +

  • type – The type of this location, one of │ │ │ XRootD.client.flags.LocationType

  • │ │ │
  • accesstype – The allowed access type of this location, one of │ │ │ XRootD.client.flags.AccessType

  • │ │ │
  • is_manager – Is the location a manager

  • │ │ │
  • is_server – Is the location a server

  • │ │ │
│ │ │
│ │ ├── ./usr/share/doc/xrootd/python/searchindex.js │ │ │ ├── js-beautify {} │ │ │ │ @@ -767,15 +767,15 @@ │ │ │ │ yes: 7, │ │ │ │ yet: 10, │ │ │ │ you: [3, 4, 6, 7, 8, 9, 11, 13], │ │ │ │ your: [4, 6, 7, 8], │ │ │ │ yourself: 13, │ │ │ │ zyx: 6 │ │ │ │ }, │ │ │ │ - titles: ["3. Examples", "3.3. CopyProcess examples", "3.2. File examples", "3.1. FileSystem examples", "2. Getting Started", "pyxrootd: Python bindings for XRootD", "1. Installing pyxrootd", "3. XRootD.client.CopyProcess: Copying files", "2. XRootD.client.File: File-based operations", "1. XRootD.client.FileSystem: Filesystem-based operations", "5. XRootD.client.flags: Flags and constants", "4. XRootD.client.responses: Server response objects", "6. XRootD.client.URL: XRootD URL object", "7. XRootD.client.utils: Utility classes"], │ │ │ │ + titles: ["Examples", "3. CopyProcess examples", "2. File examples", "1. FileSystem examples", "2. Getting Started", "pyxrootd: Python bindings for XRootD", "1. Installing pyxrootd", "3. XRootD.client.CopyProcess: Copying files", "2. XRootD.client.File: File-based operations", "1. XRootD.client.FileSystem: Filesystem-based operations", "5. XRootD.client.flags: Flags and constants", "4. XRootD.client.responses: Server response objects", "6. XRootD.client.URL: XRootD URL object", "7. XRootD.client.utils: Utility classes"], │ │ │ │ titleterms: { │ │ │ │ "class": [7, 8, 9, 12, 13], │ │ │ │ "return": 4, │ │ │ │ add: 1, │ │ │ │ all: 2, │ │ │ │ amount: 2, │ │ │ │ api: 5,