MCPcopy Create free account

hub / github.com/gokrazy/rsync / functions

Functions357 in github.com/gokrazy/rsync

↓ 1 callersFunctionisTopDir
(f *File)
internal/receiver/do.go:14
↓ 1 callersMethodlistOnly
()
internal/receiver/transfer.go:54
↓ 1 callersFunctionloadAuthorizedKeys
(osenv *rsyncos.Env, path string)
internal/anonssh/anonssh.go:242
↓ 1 callersFunctionloadHostKey
(path string)
internal/anonssh/anonssh.go:223
↓ 1 callersFunctionmapFile
(f File, len int64, readSize int32, blkSize int32)
internal/sender/fileio.go:31
↓ 1 callersFunctionnamespace
(osenv *rsyncos.Env, modules []rsyncd.Module, listen string)
internal/maincmd/namespacing.go:17
↓ 1 callersFunctionnewOSRootSource
(root *os.Root)
internal/sender/source.go:35
↓ 1 callersFunctionnewPendingFile
(root *os.Root, fn string)
internal/receiver/receiverrenameio.go:11
↓ 1 callersMethodopenLocalFile
(f *File)
internal/receiver/receiver.go:71
↓ 1 callersFunctionparseFilter
exclude.c:parse_filter_str / exclude.c:parse_rule_tok
internal/sender/exclude.go:89
↓ 1 callersMethodpipe
(t *testing.T, args []string)
internal/rsynctest/rsynctest.go:258
↓ 1 callersFunctionpivotRoot
based on https://medium.com/@teddyking/namespaces-in-go-mount-e4c04fe9fb29
internal/maincmd/namespacing_linux.go:21
↓ 1 callersMethodpoptSaveArg
(opt *poptOption, nextArg string)
internal/rsyncopts/popt.go:125
↓ 1 callersFunctionrdevFromFileInfo
(fs.FileInfo)
internal/sender/stat.go:15
↓ 1 callersMethodreceiveData
rsync/receiver.c:receive_data
internal/receiver/receiver.go:100
↓ 1 callersMethodreceiveFileEntry
rsync/flist.c:receive_file_entry
internal/receiver/flist.go:67
↓ 1 callersMethodreceiveSums
rsync/sender.c:receive_sums()
internal/sender/sender.go:118
↓ 1 callersMethodrecvFile1
(f *File)
internal/receiver/receiver.go:52
↓ 1 callersMethodrecvGenerator
rsync/generator.c:recv_generator
internal/receiver/generator.go:143
↓ 1 callersMethodrecvToken
rsync/token.c:recvToken
internal/receiver/token.go:6
↓ 1 callersMethodreport
rsync/main.c:report
internal/receiver/do.go:129
↓ 1 callersMethodrequest
(ctx context.Context, req *ssh.Request)
internal/anonssh/anonssh.go:50
↓ 1 callersFunctionrestrictToModules
(modules []Module)
rsyncd/restrictmodules.go:10
↓ 1 callersFunctionrunAsUnprivilegedUser
(*exec.Cmd)
internal/maincmd/unprivileged.go:9
↓ 1 callersMethodsendFile
(fileIndex int32, fl file)
internal/sender/sender.go:153
↓ 1 callersMethodsendToken
rsync/token.c:send_token
internal/sender/token.go:34
↓ 1 callersMethodsetOutputVerbosity
(prio priority)
internal/rsyncopts/rsyncopts.go:456
↓ 1 callersFunctionsetUid
(t *testing.T, fn string)
integration/receiver/receiver_test.go:28
↓ 1 callersMethodsetUid
(f *File, st fs.FileInfo)
internal/receiver/generatoruid.go:35
↓ 1 callersMethodsimpleSendToken
rsync/token.c:simple_send_token
internal/sender/token.go:4
↓ 1 callersMethodskipFile
rsync/generator.c:skip_file
internal/receiver/generator.go:77
↓ 1 callersFunctionsocketClient
rsync/clientserver.c:start_socket_client
internal/maincmd/clientserver.go:21
↓ 1 callersFunctionsortFileList
rsync/flist.c:flist_sort_and_clean
internal/receiver/flist.go:17
↓ 1 callersFunctionsymlink
(root *os.Root, oldname, newname string)
internal/receiver/generatorsymlink.go:11
↓ 1 callersFunctionsystemdListeners
()
internal/maincmd/listeners.go:7
↓ 1 callersMethodtouchUpDirs
(fileList []*File)
internal/receiver/generator.go:54
↓ 1 callersMethodtridgeTable
()
internal/rsyncopts/rsyncopts.go:1043
↓ 1 callersFunctionuidFromFileInfo
(fs.FileInfo)
internal/sender/stat.go:7
↓ 1 callersFunctionvalidateModule
(mod Module)
rsyncd/rsyncd.go:606
↓ 1 callersMethodwalk
()
internal/sender/flist.go:92
↓ 1 callersFunctionwriteLargeDataFile
(t *testing.T, source string, headPattern, bodyPattern, endPattern []byte)
internal/rsyncchecksum/checksum_test.go:20
MethodClose
A fileList must not be used after calling Close().
internal/sender/flist.go:44
MethodClose
()
internal/sender/source.go:42
MethodClose
()
internal/sender/source.go:82
FunctionCombinedOutput
(args ...string)
internal/rsynctest/rsynctest.go:221
MethodDebugEQ
(flag DebugLevel, lvl uint16)
internal/rsyncopts/rsyncopts.go:749
MethodDo
rsync/main.c:do_recv
internal/receiver/do.go:83
FunctionDontRestrict
()
internal/rsynctest/rsynctest.go:96
FunctionExampleClient_Run_receiveFromSubprocess
()
rsyncclient/rsyncclient_test.go:24
FunctionExampleClient_Run_sendToGoroutine
()
rsyncclient/rsyncclient_test.go:58
FunctionExampleNewServer
()
rsyncd/rsyncd_test.go:12
FunctionExampleNewServer_fsFS
ExampleNewServer_fsFS shows how to serve an rsync module backed by an [fs.FS] instead of a filesystem path. This allows serving files from in-memory f
rsyncd/rsyncd_test.go:36
MethodFS
()
internal/sender/source.go:39
MethodFS
()
internal/sender/source.go:60
MethodHandleConnArgs
(ctx context.Context, conn *Conn, module *Module, args []string)
rsyncd/rsyncd.go:328
MethodInfoEQ
(flag InfoLevel, lvl uint16)
internal/rsyncopts/rsyncopts.go:741
FunctionMaybeFileSystem
(roDirsOrFiles []string, rwDirs []string)
internal/restrict/restrict_linux.go:16
MethodOpen
(name string)
internal/sender/source.go:40
MethodOpen
(name string)
internal/sender/source.go:62
MethodOutput
(calldepth int, s string)
internal/log/logger_test.go:20
MethodPrintf
(msg string, a ...any)
internal/log/logger_test.go:16
MethodRead
(p []byte)
internal/rsyncwire/wire.go:72
MethodReadlink
(name string)
internal/sender/source.go:41
MethodReadlink
(name string)
internal/sender/source.go:75
MethodRunDaemon
RunDaemon starts one run of the rsync daemon protocol, meaning it performs the daemon protocol inband exchange (to negotiate the protocol version and
rsyncclient/rsyncclient.go:138
FunctionTestCheckForHostspec
(t *testing.T)
internal/maincmd/options_test.go:122
FunctionTestClientCommand
(t *testing.T)
rsyncclient/rsyncclient_test.go:107
FunctionTestClientServerCommand
like TestClientServerModule, but without a module, i.e. using the command calling convention.
rsyncclient/rsyncclient_test.go:212
FunctionTestClientServerCommandSender
like TestClientServerCommand, but sending data instead of receiving.
rsyncclient/rsyncclient_test.go:279
FunctionTestClientServerModule
(t *testing.T)
rsyncclient/rsyncclient_test.go:140
FunctionTestConfig
(t *testing.T)
internal/rsyncdconfig/config_test.go:11
FunctionTestDaemonReceiverDelete
(t *testing.T)
integration/receiver/receiver_daemon_test.go:195
FunctionTestDaemonReceiverSync
(t *testing.T)
integration/receiver/receiver_daemon_test.go:15
FunctionTestDaemonReceiverSyncHardLinks
(t *testing.T)
integration/receiver/receiver_daemon_test.go:251
FunctionTestDaemonReceiverSyncSubdir
like TestDaemonReceiverSync, but specifying a destination path that is a subdirectory within the module.
integration/receiver/receiver_daemon_test.go:59
FunctionTestDaemonReceiverSyncSubdirTraversal
like TestDaemonReceiverSync, but specifying a destination path that is a subdirectory within the module.
integration/receiver/receiver_daemon_test.go:126
FunctionTestErrors
(t *testing.T)
integration/errors/errors_test.go:15
FunctionTestIPACL
(t *testing.T)
integration/ipacl/ipacl_test.go:44
FunctionTestInterop
(t *testing.T)
integration/interop/interop_test.go:155
FunctionTestInteropRemoteCommand
(t *testing.T)
integration/interop/interop_test.go:522
FunctionTestInteropRemoteDaemon
(t *testing.T)
integration/interop/interop_test.go:556
FunctionTestInteropRemoteDaemonSSH
(t *testing.T)
integration/interop/interop_test.go:623
FunctionTestInteropSubdir
(t *testing.T)
integration/interop/interop_test.go:370
FunctionTestInteropSubdirExclude
(t *testing.T)
integration/interop/interop_test.go:399
FunctionTestInteropSubdirExcludeGokrazy
(t *testing.T)
integration/interop/interop_test.go:439
FunctionTestInteropSubdirExcludeMultipleNested
(t *testing.T)
integration/interop/interop_test.go:467
FunctionTestLargeFileList
rsynctest.go:282: length 280063 exceeds max message size (262144)
integration/flist/flist_test.go:14
FunctionTestMain
(m *testing.M)
integration/receiver/receiver_test.go:22
FunctionTestMain
(m *testing.M)
integration/interop/interop_test.go:21
FunctionTestMain
(m *testing.M)
integration/fsfs/fsfs_test.go:15
FunctionTestMain
(m *testing.M)
integration/sync/sync_test.go:17
FunctionTestMain
(m *testing.M)
integration/sender/sender_test.go:21
FunctionTestMapFS
(t *testing.T)
integration/fsfs/fsfs_test.go:21
FunctionTestMapFSErrors
(t *testing.T)
integration/fsfs/fsfs_test.go:74
FunctionTestMapFSLargeFile
(t *testing.T)
integration/fsfs/fsfs_test.go:107
FunctionTestModuleContentsListingDirs
(t *testing.T)
integration/interop/interop_test.go:123
FunctionTestModuleListingClient
(t *testing.T)
integration/interop/interop_test.go:80
FunctionTestModuleListingClientPort
(t *testing.T)
integration/interop/interop_test.go:101
FunctionTestModuleListingServer
(t *testing.T)
integration/interop/interop_test.go:50
FunctionTestNoReadPermission
(t *testing.T)
integration/errors/errors_test.go:85
← previousnext →201–300 of 357, ranked by callers