(path)
| 179 | } |
| 180 | |
| 181 | var client = function(path) { |
| 182 | |
| 183 | this.path = path; |
| 184 | |
| 185 | this.sha = sha1(getAdress(path)); |
| 186 | this.tmp = p.join(tempFolder, this.sha); |
| 187 | |
| 188 | this.file = fileManager.fileCompressed(path); |
| 189 | |
| 190 | this.config = { |
| 191 | |
| 192 | }; |
| 193 | |
| 194 | this._features = { |
| 195 | smb: { |
| 196 | read: true, |
| 197 | single: true, |
| 198 | progress: true, |
| 199 | secure: false, // ?? |
| 200 | }, |
| 201 | ftp: { |
| 202 | read: true, |
| 203 | single: true, |
| 204 | progress: true, |
| 205 | secure: false, |
| 206 | }, |
| 207 | ftps: { |
| 208 | read: true, |
| 209 | single: true, |
| 210 | progress: true, |
| 211 | secure: true, |
| 212 | }, |
| 213 | ssh: { |
| 214 | read: true, |
| 215 | single: true, |
| 216 | progress: true, |
| 217 | secure: true, |
| 218 | }, |
| 219 | scp: { |
| 220 | read: true, |
| 221 | single: true, |
| 222 | progress: true, |
| 223 | secure: true, |
| 224 | }, |
| 225 | s3: { |
| 226 | read: true, |
| 227 | single: true, |
| 228 | progress: true, |
| 229 | secure: true, |
| 230 | }, |
| 231 | webdav: { |
| 232 | read: true, |
| 233 | single: true, |
| 234 | progress: true, |
| 235 | secure: false, |
| 236 | }, |
| 237 | webdavs: { |
| 238 | read: true, |
nothing calls this directly
no test coverage detected