SFtp.h (upp-x11-src-13648) | : | SFtp.h (upp-x11-src-13659) | ||
---|---|---|---|---|
skipping to change at line 148 | skipping to change at line 148 | |||
bool PipeExists(const String& path) { return QueryAttr(path, SFTP_ATTR_PIPE); } | bool PipeExists(const String& path) { return QueryAttr(path, SFTP_ATTR_PIPE); } | |||
bool BlockExists(const String& path) { return QueryAttr(path, SFTP_ATTR_BLOCK); } | bool BlockExists(const String& path) { return QueryAttr(path, SFTP_ATTR_BLOCK); } | |||
bool SpecialFileExists(const String& path) { return QueryAttr(path, SFTP_ATTR_SPECIAL); } | bool SpecialFileExists(const String& path) { return QueryAttr(path, SFTP_ATTR_SPECIAL); } | |||
Gate<int64, int64> WhenProgress; | Gate<int64, int64> WhenProgress; | |||
SFtp(SshSession& session); | SFtp(SshSession& session); | |||
virtual ~SFtp(); | virtual ~SFtp(); | |||
SFtp(SFtp&&) = default; | SFtp(SFtp&&) = default; | |||
SFtp& operator=(SFtp&&) = default; | ||||
private: | private: | |||
bool Init() override; | bool Init() override; | |||
void Exit() override; | void Exit() override; | |||
int FStat(SFtpHandle handle, SFtpAttrs& a, bool set); | int FStat(SFtpHandle handle, SFtpAttrs& a, bool set); | |||
int LStat(const String& path, SFtpAttrs& a, int type); | int LStat(const String& path, SFtpAttrs& a, int type); | |||
Value QueryAttr(const String& path, int attr); | Value QueryAttr(const String& path, int attr); | |||
bool ModifyAttr(const String& path, int attr, const Value & v); | bool ModifyAttr(const String& path, int attr, const Value & v); | |||
bool SymLink(const String& path, String& target, int type ); | bool SymLink(const String& path, String& target, int type ); | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 0 lines changed or added |