Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andrewchambers/sftpplease
/ functions
Functions
225 in github.com/andrewchambers/sftpplease
⨍
Functions
225
◇
Types & classes
57
↓ 32 callers
Function
marshalUint32
(b []byte, v uint32)
sftp/protosftp/packet.go:114
↓ 31 callers
Method
respondError
(respId uint32, err error)
sftp/session.go:262
↓ 23 callers
Method
Error
()
cmd/sftpplease/scp/scp.go:580
↓ 22 callers
Function
unmarshalUint32Safe
(b []byte)
sftp/protosftp/packet.go:169
↓ 21 callers
Function
marshalString
(b []byte, v string)
sftp/protosftp/packet.go:122
↓ 19 callers
Function
teeError
(err error)
cmd/sftpplease/scp/scp.go:494
↓ 14 callers
Method
IsDir
()
extradbx/dbxfs/fs.go:444
↓ 13 callers
Method
Stat
(path string)
vfs/vfs.go:26
↓ 13 callers
Function
unmarshalStringSafe
(b []byte)
sftp/protosftp/packet.go:198
↓ 12 callers
Method
Close
()
vfs/vfs.go:29
↓ 11 callers
Method
Respond
(resp protosftp.Packet)
sftp/session.go:139
↓ 10 callers
Function
marshalIDString
(packetType byte, id uint32, str string)
sftp/protosftp/packet.go:292
↓ 10 callers
Function
unmarshalIDString
(b []byte, id *uint32, str *string)
sftp/protosftp/packet.go:303
↓ 9 callers
Method
ModTime
()
extradbx/dbxfs/fs.go:436
↓ 9 callers
Method
Name
()
vfs/vfs.go:9
↓ 8 callers
Method
Logf
(format string, args ...interface{})
sftp/session.go:135
↓ 8 callers
Function
ack
()
cmd/sftpplease/scp/scp.go:470
↓ 7 callers
Method
Read
(buf []byte)
vfs/vfs.go:11
↓ 7 callers
Function
isFatal
(err error)
cmd/sftpplease/scp/scp.go:571
↓ 7 callers
Method
respondOk
(respId uint32)
sftp/session.go:285
↓ 6 callers
Method
Chmod
(name string, mode os.FileMode)
vfs/vfs.go:22
↓ 6 callers
Method
Write
(buf []byte)
vfs/vfs.go:15
↓ 6 callers
Function
marshalFileStat
(b []byte, stat *FileStat)
sftp/protosftp/packet.go:844
↓ 5 callers
Method
Mode
()
extradbx/dbxfs/fs.go:429
↓ 5 callers
Function
unmarshalUint32
(b []byte)
sftp/protosftp/packet.go:164
↓ 4 callers
Method
Error
()
sftp/protosftp/sftp.go:238
↓ 4 callers
Method
Open
(path string)
vfs/vfs.go:23
↓ 4 callers
Method
OpenFile
(name string, flag int, perm os.FileMode)
vfs/vfs.go:24
↓ 4 callers
Method
Remove
(path string)
vfs/vfs.go:28
↓ 4 callers
Method
Size
()
extradbx/dbxfs/fs.go:422
↓ 4 callers
Function
fileStatToSFTPStat
(stat os.FileInfo)
sftp/session.go:576
↓ 4 callers
Function
marshalUint64
(b []byte, v uint64)
sftp/protosftp/packet.go:118
↓ 4 callers
Function
unmarshalFileStatSafe
(b []byte, stat *FileStat)
sftp/protosftp/packet.go:865
↓ 3 callers
Method
Mkdir
(path string, perm os.FileMode)
vfs/vfs.go:25
↓ 3 callers
Method
Readdir
(n int)
vfs/vfs.go:13
↓ 3 callers
Function
sendError
(err error)
cmd/sftpplease/scp/scp.go:501
↓ 2 callers
Function
Main
(osArgs []string, vfs vfs.VFS)
cmd/sftpplease/scp/scp.go:43
↓ 2 callers
Function
MakeStatus
(id uint32, msg string, code uint32)
sftp/protosftp/packet.go:899
↓ 2 callers
Method
MarshalBinary
()
sftp/protosftp/packet.go:498
↓ 2 callers
Function
NewUpload
(client files.Client, fpath string)
extradbx/upload.go:20
↓ 2 callers
Method
ReadAt
(buf []byte, offset int64)
vfs/vfs.go:12
↓ 2 callers
Function
RegisterEngine
(name string, fn NewVFSFunc)
vfs/vfs.go:42
↓ 2 callers
Method
Rename
(from, to string)
vfs/vfs.go:27
↓ 2 callers
Method
String
()
sftp/protosftp/sftp.go:173
↓ 2 callers
Function
bwCap
(st *BwStats, transfered int)
cmd/sftpplease/scp/bwcapio.go:55
↓ 2 callers
Function
dbxMetadataToFileStat
(md files.IsMetadata)
extradbx/dbxfs/fs.go:140
↓ 2 callers
Function
dbxStat
(api files.Client, fpath string)
extradbx/dbxfs/fs.go:155
↓ 2 callers
Function
doWithRetry
(f func() error)
extradbx/dbxfs/fs.go:65
↓ 2 callers
Method
newFileHandle
(f vfs.File)
sftp/session.go:50
↓ 2 callers
Function
parseSubj
(line string)
cmd/sftpplease/scp/scp.go:440
↓ 2 callers
Function
readLine
()
cmd/sftpplease/scp/scp.go:513
↓ 2 callers
Function
send
(name string)
cmd/sftpplease/scp/scp.go:339
↓ 2 callers
Function
sendAttr
(st os.FileInfo)
cmd/sftpplease/scp/scp.go:456
↓ 2 callers
Function
sink
(path string, recur bool)
cmd/sftpplease/scp/scp.go:104
↓ 2 callers
Function
toPosixPerm
(perm os.FileMode)
cmd/sftpplease/scp/scp.go:531
↓ 2 callers
Function
unmarshalUint64Safe
(b []byte)
sftp/protosftp/packet.go:184
↓ 1 callers
Function
Attach
(cfg dropbox.Config)
extradbx/dbxfs/fs.go:56
↓ 1 callers
Function
CapReader
(r io.Reader, st *BwStats)
cmd/sftpplease/scp/bwcapio.go:19
↓ 1 callers
Function
CapWriter
(w io.Writer, st *BwStats)
cmd/sftpplease/scp/bwcapio.go:26
↓ 1 callers
Method
Close
()
extradbx/upload.go:80
↓ 1 callers
Method
Create
(fpath string)
extradbx/dbxfs/fs.go:79
↓ 1 callers
Method
GetDropboxId
()
extradbx/dbxfs/fs.go:414
↓ 1 callers
Function
NewBwStats
(rate uint)
cmd/sftpplease/scp/bwcapio.go:15
↓ 1 callers
Function
Open
(engineName, params string)
vfs/vfs.go:34
↓ 1 callers
Method
Open
(fpath string)
extradbx/dbxfs/fs.go:94
↓ 1 callers
Method
ReadAt
(b []byte, off int64)
extradbx/dbxfs/fs.go:297
↓ 1 callers
Function
ReadPacket
(r io.Reader)
sftp/protosftp/packet.go:39
↓ 1 callers
Method
Readdir
(n int)
extradbx/dbxfs/fs.go:211
↓ 1 callers
Method
Readdirnames
(n int)
vfs/vfs.go:14
↓ 1 callers
Function
Serve
(opt *Options, fs vfs.VFS, rw io.ReadWriter)
sftp/session.go:146
↓ 1 callers
Method
Stat
(fpath string)
extradbx/dbxfs/fs.go:176
↓ 1 callers
Method
Sys
()
extradbx/dbxfs/fs.go:448
↓ 1 callers
Method
UnmarshalBinary
(b []byte)
sftp/protosftp/packet.go:249
↓ 1 callers
Method
WriteAt
(buf []byte, off int64)
vfs/vfs.go:16
↓ 1 callers
Method
WriteAt
(b []byte, off int64)
extradbx/dbxfs/fs.go:341
↓ 1 callers
Function
WritePacket
(w io.Writer, m Packet)
sftp/protosftp/packet.go:21
↓ 1 callers
Function
doUpload
(client files.Client, pipe *io.PipeReader, errChan chan error, fpath string)
extradbx/upload.go:30
↓ 1 callers
Method
handleClose
(req *protosftp.FxpClosePacket)
sftp/session.go:429
↓ 1 callers
Method
handleFstat
(req *protosftp.FxpFstatPacket)
sftp/session.go:356
↓ 1 callers
Method
handleInit
(req *protosftp.FxpInitPacket)
sftp/session.go:289
↓ 1 callers
Method
handleLstat
(req *protosftp.FxpLstatPacket)
sftp/session.go:405
↓ 1 callers
Method
handleMkdir
(req *protosftp.FxpMkdirPacket)
sftp/session.go:503
↓ 1 callers
Method
handleOpen
(req *protosftp.FxpOpenPacket)
sftp/session.go:440
↓ 1 callers
Method
handleOpenDir
(req *protosftp.FxpOpendirPacket)
sftp/session.go:519
↓ 1 callers
Method
handleRead
(req *protosftp.FxpReadPacket)
sftp/session.go:549
↓ 1 callers
Method
handleReadDir
(req *protosftp.FxpReaddirPacket)
sftp/session.go:419
↓ 1 callers
Method
handleReadLink
(req *protosftp.FxpReadlinkPacket)
sftp/session.go:568
↓ 1 callers
Method
handleRealPath
(req *protosftp.FxpRealpathPacket)
sftp/session.go:296
↓ 1 callers
Method
handleRemove
(req *protosftp.FxpRemovePacket)
sftp/session.go:313
↓ 1 callers
Method
handleRename
(req *protosftp.FxpRenamePacket)
sftp/session.go:559
↓ 1 callers
Method
handleRmdir
(req *protosftp.FxpRmdirPacket)
sftp/session.go:334
↓ 1 callers
Method
handleSetStat
(req *protosftp.FxpSetStatPacket)
sftp/session.go:381
↓ 1 callers
Method
handleStat
(req *protosftp.FxpStatPacket)
sftp/session.go:367
↓ 1 callers
Method
handleSymlink
(req *protosftp.FxpSymlinkPacket)
sftp/session.go:572
↓ 1 callers
Method
handleWrite
(req *protosftp.FxpWritePacket)
sftp/session.go:539
↓ 1 callers
Function
marshalStatus
(b []byte, err StatusError)
sftp/protosftp/packet.go:126
↓ 1 callers
Function
parseVFS
(s string)
cmd/sftpplease/main.go:21
↓ 1 callers
Function
prepareDir
(name string, perm os.FileMode)
cmd/sftpplease/scp/scp.go:317
↓ 1 callers
Function
runLsStat
(stat os.FileInfo)
sftp/session.go:657
↓ 1 callers
Function
runLsTypeWord
(mode os.FileMode)
sftp/session.go:595
next →
1–100 of 225, ranked by callers