~ubuntu-branches/ubuntu/lucid/python2.6/lucid

« back to all changes in this revision

Viewing changes to Doc/library/macostools.rst

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2010-03-11 13:30:19 UTC
  • mto: (10.1.13 sid)
  • mto: This revision was merged to the branch mainline in revision 44.
  • Revision ID: james.westby@ubuntu.com-20100311133019-sblbooa3uqrkoe70
Tags: upstream-2.6.5~rc2
ImportĀ upstreamĀ versionĀ 2.6.5~rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
   This module has been removed in Python 3.0.
19
19
 
 
20
 
 
21
 
20
22
The :mod:`macostools` module defines the following functions:
21
23
 
22
24
 
28
30
   modification and backup times (default is to copy them). Custom icons, comments
29
31
   and icon position are not copied.
30
32
 
 
33
   .. note::
 
34
 
 
35
      This function does not work in 64-bit code because it uses APIs that
 
36
      are not available in 64-bit mode.
31
37
 
32
38
.. function:: copytree(src, dst)
33
39
 
34
40
   Recursively copy a file tree from *src* to *dst*, creating folders as needed.
35
41
   *src* and *dst* should be specified as pathnames.
36
42
 
 
43
   .. note::
 
44
 
 
45
      This function does not work in 64-bit code because it uses APIs that
 
46
      are not available in 64-bit mode.
37
47
 
38
48
.. function:: mkalias(src, dst)
39
49
 
40
50
   Create a finder alias *dst* pointing to *src*.
41
51
 
 
52
   .. note::
 
53
 
 
54
      This function does not work in 64-bit code because it uses APIs that
 
55
      are not available in 64-bit mode.
 
56
 
42
57
 
43
58
.. function:: touched(dst)
44
59