Commit Graph

11 Commits

Author SHA1 Message Date
unclejack 62d5779aab server_standalone: handle readonly properly
Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
2017-03-15 12:45:09 -07:00
Mark Sheahan 9ff4de5c31 add serverside StatVFS function, implemented for darwin and linux (#89) 2016-06-13 14:45:13 +10:00
Dave Cheney f3fc26f1c3 General server cleanups (#103)
- no need to initalise mutexes, their zero value is valid
- make NewServer simpler, 90% of use cases already had an
  io.ReadWriteCloser, in the single case that it it is easy to provide a
  simple wrapper.
2016-05-29 16:32:05 +10:00
Matt Layher 8e47c759f5 server: remote rootDir parameter, as it does nothing 2016-01-16 12:41:01 -05:00
Matt Layher 403657b31e server: use functional options for NewServer 2016-01-11 11:52:51 -05:00
Mike Houston cf6c57c01f Updates to code style
Replaced panic with log.Fatal
Removed old commented code line
Cleaned up declaration of flag variables
Fixed rootDir flag variable - was pointing to debugLevelStr
Log any final error returned by SFTP subsystem
2015-11-08 12:36:10 +00:00
Mark Sheahan d80ae36051 rmdir and symlink packet handling 2015-09-07 01:05:16 -07:00
Mark Sheahan 7bb2083ca9 Address review comments; about to change decodePacket() 2015-09-06 23:55:15 -07:00
Mark Sheahan af012f1b56 fix import path for server_standalone 2015-09-06 22:21:45 -07:00
Mark Sheahan 7ab0966023 readonly (only for open right now) 2015-07-30 23:43:00 -07:00
Mark Sheahan 5b6348f034 version, lstat 2015-07-25 01:19:29 -07:00