17 |
17 |
18 def getServersPath(): |
18 def getServersPath(): |
19 """ |
19 """ |
20 Module function to get the filename of the servers file. |
20 Module function to get the filename of the servers file. |
21 |
21 |
22 @return filename of the servers file (string) |
22 @return filename of the servers file |
|
23 @rtype str |
23 """ |
24 """ |
24 if OSUtilities.isWindowsPlatform(): |
25 if OSUtilities.isWindowsPlatform(): |
25 appdata = os.environ["APPDATA"] |
26 appdata = os.environ["APPDATA"] |
26 return os.path.join(appdata, "Subversion", "servers") |
27 return os.path.join(appdata, "Subversion", "servers") |
27 else: |
28 else: |
31 |
32 |
32 def getConfigPath(): |
33 def getConfigPath(): |
33 """ |
34 """ |
34 Module function to get the filename of the config file. |
35 Module function to get the filename of the config file. |
35 |
36 |
36 @return filename of the config file (string) |
37 @return filename of the config file |
|
38 @rtype str |
37 """ |
39 """ |
38 if OSUtilities.isWindowsPlatform(): |
40 if OSUtilities.isWindowsPlatform(): |
39 appdata = os.environ["APPDATA"] |
41 appdata = os.environ["APPDATA"] |
40 return os.path.join(appdata, "Subversion", "config") |
42 return os.path.join(appdata, "Subversion", "config") |
41 else: |
43 else: |