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