10560:28b14d2df6a1 | 10561:be23a662d709 |
---|---|
12 import os | 12 import os |
13 import stat | 13 import stat |
14 import time | 14 import time |
15 | 15 |
16 from .EricRequestCategory import EricRequestCategory | 16 from .EricRequestCategory import EricRequestCategory |
17 | |
17 | 18 |
18 class EricServerFileSystemRequestHandler: | 19 class EricServerFileSystemRequestHandler: |
19 """ | 20 """ |
20 Class implementing the file system request handler of the eric-ide server. | 21 Class implementing the file system request handler of the eric-ide server. |
21 """ | 22 """ |
89 return { | 90 return { |
90 "ok": False, | 91 "ok": False, |
91 "error": str(err), | 92 "error": str(err), |
92 } | 93 } |
93 | 94 |
94 def __getcwd(self, params): | 95 def __getcwd(self, params): # noqa: U100 |
95 """ | 96 """ |
96 Private method to report the current working directory. | 97 Private method to report the current working directory. |
97 | 98 |
98 @param params dictionary containing the request data | 99 @param params dictionary containing the request data |
99 @type dict | 100 @type dict |