|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.VcsPlugins.vcsPySvn.SvnUtilities</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.Plugins.VcsPlugins.vcsPySvn.SvnUtilities</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing some common utility functions for the pysvn package. |
|
13 </p> |
|
14 <h3>Global Attributes</h3> |
|
15 |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 |
|
21 <table> |
|
22 <tr><td>None</td></tr> |
|
23 </table> |
|
24 <h3>Functions</h3> |
|
25 |
|
26 <table> |
|
27 |
|
28 <tr> |
|
29 <td><a href="#amendConfig">amendConfig</a></td> |
|
30 <td>Module function to amend the config file.</td> |
|
31 </tr> |
|
32 <tr> |
|
33 <td><a href="#createDefaultConfig">createDefaultConfig</a></td> |
|
34 <td>Module function to create a default config file suitable for eric.</td> |
|
35 </tr> |
|
36 <tr> |
|
37 <td><a href="#dateFromTime_t">dateFromTime_t</a></td> |
|
38 <td>Module function to return the date.</td> |
|
39 </tr> |
|
40 <tr> |
|
41 <td><a href="#formatTime">formatTime</a></td> |
|
42 <td>Module function to return a formatted time string.</td> |
|
43 </tr> |
|
44 <tr> |
|
45 <td><a href="#getConfigPath">getConfigPath</a></td> |
|
46 <td>Module function to get the filename of the config file.</td> |
|
47 </tr> |
|
48 <tr> |
|
49 <td><a href="#getServersPath">getServersPath</a></td> |
|
50 <td>Module function to get the filename of the servers file.</td> |
|
51 </tr> |
|
52 </table> |
|
53 <hr /> |
|
54 <hr /> |
|
55 <a NAME="amendConfig" ID="amendConfig"></a> |
|
56 <h2>amendConfig</h2> |
|
57 <b>amendConfig</b>(<i></i>) |
|
58 |
|
59 <p> |
|
60 Module function to amend the config file. |
|
61 </p> |
|
62 <div align="right"><a href="#top">Up</a></div> |
|
63 <hr /> |
|
64 <hr /> |
|
65 <a NAME="createDefaultConfig" ID="createDefaultConfig"></a> |
|
66 <h2>createDefaultConfig</h2> |
|
67 <b>createDefaultConfig</b>(<i></i>) |
|
68 |
|
69 <p> |
|
70 Module function to create a default config file suitable for eric. |
|
71 </p> |
|
72 <div align="right"><a href="#top">Up</a></div> |
|
73 <hr /> |
|
74 <hr /> |
|
75 <a NAME="dateFromTime_t" ID="dateFromTime_t"></a> |
|
76 <h2>dateFromTime_t</h2> |
|
77 <b>dateFromTime_t</b>(<i>seconds</i>) |
|
78 |
|
79 <p> |
|
80 Module function to return the date. |
|
81 </p> |
|
82 <dl> |
|
83 |
|
84 <dt><i>seconds</i></dt> |
|
85 <dd> |
|
86 time in seconds since epoch to be formatted (float or long) |
|
87 </dd> |
|
88 </dl> |
|
89 <dl> |
|
90 <dt>Return:</dt> |
|
91 <dd> |
|
92 date (QDate) |
|
93 </dd> |
|
94 </dl> |
|
95 <div align="right"><a href="#top">Up</a></div> |
|
96 <hr /> |
|
97 <hr /> |
|
98 <a NAME="formatTime" ID="formatTime"></a> |
|
99 <h2>formatTime</h2> |
|
100 <b>formatTime</b>(<i>seconds</i>) |
|
101 |
|
102 <p> |
|
103 Module function to return a formatted time string. |
|
104 </p> |
|
105 <dl> |
|
106 |
|
107 <dt><i>seconds</i></dt> |
|
108 <dd> |
|
109 time in seconds since epoch to be formatted (float or long) |
|
110 </dd> |
|
111 </dl> |
|
112 <dl> |
|
113 <dt>Return:</dt> |
|
114 <dd> |
|
115 formatted time string (string) |
|
116 </dd> |
|
117 </dl> |
|
118 <div align="right"><a href="#top">Up</a></div> |
|
119 <hr /> |
|
120 <hr /> |
|
121 <a NAME="getConfigPath" ID="getConfigPath"></a> |
|
122 <h2>getConfigPath</h2> |
|
123 <b>getConfigPath</b>(<i></i>) |
|
124 |
|
125 <p> |
|
126 Module function to get the filename of the config file. |
|
127 </p> |
|
128 <dl> |
|
129 <dt>Return:</dt> |
|
130 <dd> |
|
131 filename of the config file (string) |
|
132 </dd> |
|
133 </dl> |
|
134 <div align="right"><a href="#top">Up</a></div> |
|
135 <hr /> |
|
136 <hr /> |
|
137 <a NAME="getServersPath" ID="getServersPath"></a> |
|
138 <h2>getServersPath</h2> |
|
139 <b>getServersPath</b>(<i></i>) |
|
140 |
|
141 <p> |
|
142 Module function to get the filename of the servers file. |
|
143 </p> |
|
144 <dl> |
|
145 <dt>Return:</dt> |
|
146 <dd> |
|
147 filename of the servers file (string) |
|
148 </dd> |
|
149 </dl> |
|
150 <div align="right"><a href="#top">Up</a></div> |
|
151 <hr /> |
|
152 </body></html> |