Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/gokrazy/rsync
/ functions
Functions
357 in github.com/gokrazy/rsync
⨍
Functions
357
◇
Types & classes
72
↓ 1 callers
Function
isTopDir
(f *File)
internal/receiver/do.go:14
↓ 1 callers
Method
listOnly
()
internal/receiver/transfer.go:54
↓ 1 callers
Function
loadAuthorizedKeys
(osenv *rsyncos.Env, path string)
internal/anonssh/anonssh.go:242
↓ 1 callers
Function
loadHostKey
(path string)
internal/anonssh/anonssh.go:223
↓ 1 callers
Function
mapFile
(f File, len int64, readSize int32, blkSize int32)
internal/sender/fileio.go:31
↓ 1 callers
Function
namespace
(osenv *rsyncos.Env, modules []rsyncd.Module, listen string)
internal/maincmd/namespacing.go:17
↓ 1 callers
Function
newOSRootSource
(root *os.Root)
internal/sender/source.go:35
↓ 1 callers
Function
newPendingFile
(root *os.Root, fn string)
internal/receiver/receiverrenameio.go:11
↓ 1 callers
Method
openLocalFile
(f *File)
internal/receiver/receiver.go:71
↓ 1 callers
Function
parseFilter
exclude.c:parse_filter_str / exclude.c:parse_rule_tok
internal/sender/exclude.go:89
↓ 1 callers
Method
pipe
(t *testing.T, args []string)
internal/rsynctest/rsynctest.go:258
↓ 1 callers
Function
pivotRoot
based on https://medium.com/@teddyking/namespaces-in-go-mount-e4c04fe9fb29
internal/maincmd/namespacing_linux.go:21
↓ 1 callers
Method
poptSaveArg
(opt *poptOption, nextArg string)
internal/rsyncopts/popt.go:125
↓ 1 callers
Function
rdevFromFileInfo
(fs.FileInfo)
internal/sender/stat.go:15
↓ 1 callers
Method
receiveData
rsync/receiver.c:receive_data
internal/receiver/receiver.go:100
↓ 1 callers
Method
receiveFileEntry
rsync/flist.c:receive_file_entry
internal/receiver/flist.go:67
↓ 1 callers
Method
receiveSums
rsync/sender.c:receive_sums()
internal/sender/sender.go:118
↓ 1 callers
Method
recvFile1
(f *File)
internal/receiver/receiver.go:52
↓ 1 callers
Method
recvGenerator
rsync/generator.c:recv_generator
internal/receiver/generator.go:143
↓ 1 callers
Method
recvToken
rsync/token.c:recvToken
internal/receiver/token.go:6
↓ 1 callers
Method
report
rsync/main.c:report
internal/receiver/do.go:129
↓ 1 callers
Method
request
(ctx context.Context, req *ssh.Request)
internal/anonssh/anonssh.go:50
↓ 1 callers
Function
restrictToModules
(modules []Module)
rsyncd/restrictmodules.go:10
↓ 1 callers
Function
runAsUnprivilegedUser
(*exec.Cmd)
internal/maincmd/unprivileged.go:9
↓ 1 callers
Method
sendFile
(fileIndex int32, fl file)
internal/sender/sender.go:153
↓ 1 callers
Method
sendToken
rsync/token.c:send_token
internal/sender/token.go:34
↓ 1 callers
Method
setOutputVerbosity
(prio priority)
internal/rsyncopts/rsyncopts.go:456
↓ 1 callers
Function
setUid
(t *testing.T, fn string)
integration/receiver/receiver_test.go:28
↓ 1 callers
Method
setUid
(f *File, st fs.FileInfo)
internal/receiver/generatoruid.go:35
↓ 1 callers
Method
simpleSendToken
rsync/token.c:simple_send_token
internal/sender/token.go:4
↓ 1 callers
Method
skipFile
rsync/generator.c:skip_file
internal/receiver/generator.go:77
↓ 1 callers
Function
socketClient
rsync/clientserver.c:start_socket_client
internal/maincmd/clientserver.go:21
↓ 1 callers
Function
sortFileList
rsync/flist.c:flist_sort_and_clean
internal/receiver/flist.go:17
↓ 1 callers
Function
symlink
(root *os.Root, oldname, newname string)
internal/receiver/generatorsymlink.go:11
↓ 1 callers
Function
systemdListeners
()
internal/maincmd/listeners.go:7
↓ 1 callers
Method
touchUpDirs
(fileList []*File)
internal/receiver/generator.go:54
↓ 1 callers
Method
tridgeTable
()
internal/rsyncopts/rsyncopts.go:1043
↓ 1 callers
Function
uidFromFileInfo
(fs.FileInfo)
internal/sender/stat.go:7
↓ 1 callers
Function
validateModule
(mod Module)
rsyncd/rsyncd.go:606
↓ 1 callers
Method
walk
()
internal/sender/flist.go:92
↓ 1 callers
Function
writeLargeDataFile
(t *testing.T, source string, headPattern, bodyPattern, endPattern []byte)
internal/rsyncchecksum/checksum_test.go:20
Method
Close
A fileList must not be used after calling Close().
internal/sender/flist.go:44
Method
Close
()
internal/sender/source.go:42
Method
Close
()
internal/sender/source.go:82
Function
CombinedOutput
(args ...string)
internal/rsynctest/rsynctest.go:221
Method
DebugEQ
(flag DebugLevel, lvl uint16)
internal/rsyncopts/rsyncopts.go:749
Method
Do
rsync/main.c:do_recv
internal/receiver/do.go:83
Function
DontRestrict
()
internal/rsynctest/rsynctest.go:96
Function
ExampleClient_Run_receiveFromSubprocess
()
rsyncclient/rsyncclient_test.go:24
Function
ExampleClient_Run_sendToGoroutine
()
rsyncclient/rsyncclient_test.go:58
Function
ExampleNewServer
()
rsyncd/rsyncd_test.go:12
Function
ExampleNewServer_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
Method
FS
()
internal/sender/source.go:39
Method
FS
()
internal/sender/source.go:60
Method
HandleConnArgs
(ctx context.Context, conn *Conn, module *Module, args []string)
rsyncd/rsyncd.go:328
Method
InfoEQ
(flag InfoLevel, lvl uint16)
internal/rsyncopts/rsyncopts.go:741
Function
MaybeFileSystem
(roDirsOrFiles []string, rwDirs []string)
internal/restrict/restrict_linux.go:16
Method
Open
(name string)
internal/sender/source.go:40
Method
Open
(name string)
internal/sender/source.go:62
Method
Output
(calldepth int, s string)
internal/log/logger_test.go:20
Method
Printf
(msg string, a ...any)
internal/log/logger_test.go:16
Method
Read
(p []byte)
internal/rsyncwire/wire.go:72
Method
Readlink
(name string)
internal/sender/source.go:41
Method
Readlink
(name string)
internal/sender/source.go:75
Method
RunDaemon
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
Function
TestCheckForHostspec
(t *testing.T)
internal/maincmd/options_test.go:122
Function
TestClientCommand
(t *testing.T)
rsyncclient/rsyncclient_test.go:107
Function
TestClientServerCommand
like TestClientServerModule, but without a module, i.e. using the command calling convention.
rsyncclient/rsyncclient_test.go:212
Function
TestClientServerCommandSender
like TestClientServerCommand, but sending data instead of receiving.
rsyncclient/rsyncclient_test.go:279
Function
TestClientServerModule
(t *testing.T)
rsyncclient/rsyncclient_test.go:140
Function
TestConfig
(t *testing.T)
internal/rsyncdconfig/config_test.go:11
Function
TestDaemonReceiverDelete
(t *testing.T)
integration/receiver/receiver_daemon_test.go:195
Function
TestDaemonReceiverSync
(t *testing.T)
integration/receiver/receiver_daemon_test.go:15
Function
TestDaemonReceiverSyncHardLinks
(t *testing.T)
integration/receiver/receiver_daemon_test.go:251
Function
TestDaemonReceiverSyncSubdir
like TestDaemonReceiverSync, but specifying a destination path that is a subdirectory within the module.
integration/receiver/receiver_daemon_test.go:59
Function
TestDaemonReceiverSyncSubdirTraversal
like TestDaemonReceiverSync, but specifying a destination path that is a subdirectory within the module.
integration/receiver/receiver_daemon_test.go:126
Function
TestErrors
(t *testing.T)
integration/errors/errors_test.go:15
Function
TestIPACL
(t *testing.T)
integration/ipacl/ipacl_test.go:44
Function
TestInterop
(t *testing.T)
integration/interop/interop_test.go:155
Function
TestInteropRemoteCommand
(t *testing.T)
integration/interop/interop_test.go:522
Function
TestInteropRemoteDaemon
(t *testing.T)
integration/interop/interop_test.go:556
Function
TestInteropRemoteDaemonSSH
(t *testing.T)
integration/interop/interop_test.go:623
Function
TestInteropSubdir
(t *testing.T)
integration/interop/interop_test.go:370
Function
TestInteropSubdirExclude
(t *testing.T)
integration/interop/interop_test.go:399
Function
TestInteropSubdirExcludeGokrazy
(t *testing.T)
integration/interop/interop_test.go:439
Function
TestInteropSubdirExcludeMultipleNested
(t *testing.T)
integration/interop/interop_test.go:467
Function
TestLargeFileList
rsynctest.go:282: length 280063 exceeds max message size (262144)
integration/flist/flist_test.go:14
Function
TestMain
(m *testing.M)
integration/receiver/receiver_test.go:22
Function
TestMain
(m *testing.M)
integration/interop/interop_test.go:21
Function
TestMain
(m *testing.M)
integration/fsfs/fsfs_test.go:15
Function
TestMain
(m *testing.M)
integration/sync/sync_test.go:17
Function
TestMain
(m *testing.M)
integration/sender/sender_test.go:21
Function
TestMapFS
(t *testing.T)
integration/fsfs/fsfs_test.go:21
Function
TestMapFSErrors
(t *testing.T)
integration/fsfs/fsfs_test.go:74
Function
TestMapFSLargeFile
(t *testing.T)
integration/fsfs/fsfs_test.go:107
Function
TestModuleContentsListingDirs
(t *testing.T)
integration/interop/interop_test.go:123
Function
TestModuleListingClient
(t *testing.T)
integration/interop/interop_test.go:80
Function
TestModuleListingClientPort
(t *testing.T)
integration/interop/interop_test.go:101
Function
TestModuleListingServer
(t *testing.T)
integration/interop/interop_test.go:50
Function
TestNoReadPermission
(t *testing.T)
integration/errors/errors_test.go:85
← previous
next →
201–300 of 357, ranked by callers