MCPcopy Create free account

hub / github.com/gokrazy/rsync / functions

Functions357 in github.com/gokrazy/rsync

↓ 75 callersMethodPrintf
Printf logs message to the underlying log output. Arguments are handled in the manner of fmt.Printf.
internal/log/logger.go:13
↓ 74 callersMethodLogf
(format string, v ...any)
internal/rsyncos/rsyncos.go:34
↓ 50 callersFunctionNew
(tb testing.TB)
internal/testlogger/testlogger.go:18
↓ 49 callersMethodRun
Run starts the specified rsync invocation.
rsynccmd/rsynccmd.go:58
↓ 36 callersMethodClose
()
internal/sender/source.go:23
↓ 32 callersMethodDebugGTE
(flag DebugLevel, lvl uint16)
internal/rsyncopts/rsyncopts.go:745
↓ 31 callersMethodWriteInt32
(data int32)
internal/rsyncwire/wire.go:140
↓ 29 callersFunctionNew
(t *testing.T, modules []rsyncd.Module, opts ...Option)
internal/rsynctest/rsynctest.go:102
↓ 23 callersMethodReadInt32
()
internal/rsyncwire/wire.go:169
↓ 22 callersMethodString
()
internal/rsyncwire/wire.go:123
↓ 20 callersFunctionInteropModule
InteropModule is a convenience function to define an rsync module named “interop” with the specified path.
internal/rsynctest/rsynctest.go:65
↓ 19 callersFunctionRun
(tb testing.TB, args ...string)
internal/rsynctest/rsynctest.go:197
↓ 18 callersMethodVerbose
()
internal/rsyncopts/rsyncopts.go:718
↓ 15 callersFunctionAnyRsync
(t *testing.T)
internal/rsynctest/rsynctest.go:524
↓ 15 callersMethodRunClient
(t *testing.T, args []string, remaining []string)
internal/rsynctest/rsynctest.go:286
↓ 14 callersMethodInfoGTE
(flag InfoLevel, lvl uint16)
internal/rsyncopts/rsyncopts.go:737
↓ 13 callersMethodFileMode
FileMode converts from the Linux permission bits to Go’s permission bits.
internal/receiver/flist.go:44
↓ 13 callersFunctionNewServer
(modules []Module, opts ...Option)
rsyncd/rsyncd.go:69
↓ 13 callersFunctionTridgeOrGTFO
(t *testing.T, reason string)
internal/rsynctest/rsynctest.go:510
↓ 12 callersFunctionNewContext
(opts *Options)
internal/rsyncopts/rsyncopts.go:1303
↓ 12 callersMethodParseArguments
rsync/options.c:parse_arguments
internal/rsyncopts/rsyncopts.go:1313
↓ 12 callersMethodReadlink
Readlink reads a symlink target. Needs fs.ReadLinkFS.
internal/sender/source.go:21
↓ 12 callersFunctionSignExtend
SignExtend mirrors how C converts from (signed char) to uint32, i.e. using sign extension. get_checksum1 treats the buffer as (signed char*) instead o
internal/rsyncchecksum/rsyncchecksum.go:24
↓ 11 callersMethodError
()
internal/rsyncopts/popt.go:64
↓ 11 callersMethodWrite
(p []byte)
internal/maincmd/maincmd.go:38
↓ 11 callersMethodWriteInt32
(data int32)
internal/rsyncwire/wire.go:104
↓ 11 callersMethodWriteString
(data string)
internal/rsyncwire/wire.go:156
↓ 10 callersMethodOpen
Open opens a file. Returns error if file does not implement io.Seeker.
internal/sender/source.go:18
↓ 10 callersMethodWrite
(p []byte)
internal/rsyncwire/wire.go:213
↓ 10 callersFunctionWriteLargeDataFile
(t *testing.T, source string, headPattern, bodyPattern, endPattern []byte)
internal/rsynctest/rsynctest.go:437
↓ 9 callersFunctionDataFileMatches
(fn string, headPattern, bodyPattern, endPattern []byte)
internal/rsynctest/rsynctest.go:449
↓ 9 callersFunctioncreateSourceFiles
(t *testing.T)
integration/interop/interop_test.go:305
↓ 8 callersFunctionNew
(t *testing.T)
internal/rsyncostest/rsyncostest.go:10
↓ 8 callersFunctionNewConnection
(r io.Reader, w io.Writer, name string)
rsyncd/rsyncd.go:312
↓ 8 callersFunctionNewInMemory
(t *testing.T, module rsyncd.Module, opts ...Option)
internal/rsynctest/rsynctest.go:230
↓ 8 callersFunctionWithStderr
(stderr io.Writer)
rsyncd/rsyncd.go:57
↓ 8 callersFunctionWritableInteropModule
WritableInteropModule is a wrapper around InteropModule that marks the module as writable (not read-only).
internal/rsynctest/rsynctest.go:76
↓ 7 callersFunctionNew
New creates a new [Client]. You can call [Client.Run] one or more times with the same [Client].
rsyncclient/rsyncclient.go:67
↓ 7 callersFunctionNewOptions
NewOptions returns an Options struct with all options initialized to their default values. Note that ParseArguments will set some options (that defaul
internal/rsyncopts/rsyncopts.go:134
↓ 7 callersMethodRun
Run starts one run of the rsync protocol (not the rsync daemon protocol), see also https://michael.stapelberg.ch/posts/2022-07-02-rsync-how-does-it-wo
rsyncclient/rsyncclient.go:123
↓ 7 callersMethodSender
()
internal/rsyncopts/rsyncopts.go:720
↓ 7 callersMethodServerCommandOptions
ServerCommandOptions returns the options that rsync would use to spawn the server process.
rsyncclient/rsyncclient.go:97
↓ 6 callersMethodDo
rsync/main.c:client_run am_sender
internal/sender/do.go:35
↓ 6 callersMethodInternalHandleConn
This method is only exported until we refactor; use HandleConnArgs() instead
rsyncd/rsyncd.go:324
↓ 6 callersFunctionMain
(ctx context.Context, osenv *rsyncos.Env, args []string, cfg *rsyncdconfig.Config)
internal/maincmd/maincmd.go:40
↓ 6 callersMethodReset
()
internal/rsyncwire/wire.go:127
↓ 6 callersMethodServer
()
internal/rsyncopts/rsyncopts.go:724
↓ 6 callersMethodsetPerms
rsync/rsync.c:set_perms
internal/receiver/generator.go:106
↓ 5 callersFunctionCommand
Command returns the [Cmd] struct to execute rsync with the given arguments. The name parameter is ignored and only specified for symmetry with os/exe
rsynccmd/rsynccmd.go:46
↓ 5 callersFunctionCommandMain
(m *testing.M)
internal/rsynctest/rsynctest.go:302
↓ 5 callersFunctionCreateDummyDeviceFiles
(t *testing.T, dir string)
internal/rsynctest/rsynctest.go:326
↓ 5 callersFunctionMaybeFileSystem
(_, _ []string)
internal/restrict/restrict_other.go:11
↓ 5 callersMethodName
()
internal/receiver/receiverrenameio_windows.go:27
↓ 5 callersFunctionNewOptionsWithGokrazyDefaults
NewOptions returns an Options struct with all options initialized to their default values. Note that ParseArguments will set some options (that defaul
internal/rsyncopts/rsyncopts.go:165
↓ 5 callersFunctionNewPrinter
(out io.Writer, now func() time.Time)
internal/progress/progress.go:26
↓ 5 callersMethodPreserveGid
()
internal/rsyncopts/rsyncopts.go:711
↓ 5 callersMethodPreserveUid
()
internal/rsyncopts/rsyncopts.go:710
↓ 5 callersMethodShow
(offset uint64, last bool)
internal/progress/progress.go:67
↓ 5 callersFunctionVerifyDummyDeviceFiles
(t *testing.T, source, dest string)
internal/rsynctest/rsynctest.go:356
↓ 5 callersMethodpoptGetOptArg
()
internal/rsyncopts/popt.go:269
↓ 5 callersMethodptr
(offset int64, l int32)
internal/sender/fileio.go:42
↓ 5 callersFunctionsourceFullySyncedTo
(t *testing.T, dest string)
integration/interop/interop_test.go:341
↓ 5 callersFunctionsourcesArgs
(t *testing.T)
integration/interop/interop_test.go:327
↓ 5 callersFunctionversion
(osenv *rsyncos.Env)
internal/maincmd/maincmd.go:28
↓ 4 callersMethodAlwaysChecksum
()
internal/rsyncopts/rsyncopts.go:727
↓ 4 callersMethodCleanup
()
internal/receiver/receiverrenameio_windows.go:45
↓ 4 callersFunctionConstructLargeDataFile
(headPattern, bodyPattern, endPattern []byte)
internal/rsynctest/rsynctest.go:429
↓ 4 callersMethodDryRun
()
internal/rsyncopts/rsyncopts.go:708
↓ 4 callersFunctionListenerFromConfig
(osenv *rsyncos.Env, cfg rsyncdconfig.Listener)
internal/anonssh/anonssh.go:189
↓ 4 callersFunctionListeners
(lns []rsyncdconfig.Listener)
internal/rsynctest/rsynctest.go:84
↓ 4 callersMethodLocalServer
()
internal/rsyncopts/rsyncopts.go:722
↓ 4 callersMethodMaybeShow
(offset uint64, last bool)
internal/progress/progress.go:53
↓ 4 callersMethodPreserveDevices
()
internal/rsyncopts/rsyncopts.go:712
↓ 4 callersMethodPreserveLinks
()
internal/rsyncopts/rsyncopts.go:709
↓ 4 callersMethodReadByte
()
internal/rsyncwire/wire.go:161
↓ 4 callersMethodReadInt64
()
internal/rsyncwire/wire.go:177
↓ 4 callersMethodRestrict
()
internal/rsyncos/rsyncos.go:39
↓ 4 callersFunctionServe
(ctx context.Context, osenv *rsyncos.Env, ln net.Listener, listener *Listener, cfg *rsyncdconfig.Config, main
internal/anonssh/anonssh.go:274
↓ 4 callersMethodServe
(ctx context.Context, ln net.Listener)
rsyncd/rsyncd.go:578
↓ 4 callersMethodWrite
(buf []byte)
internal/receiver/receiverrenameio_windows.go:31
↓ 4 callersMethodWriteInt64
(data int64)
internal/rsyncwire/wire.go:144
↓ 4 callersMethodWriteMsg
(tag uint8, p []byte)
internal/rsyncwire/wire.go:28
↓ 4 callersMethodWriteTo
(c *rsyncwire.Conn)
types.go:79
↓ 4 callersMethodanyRsync
()
internal/rsynctest/rsynctest.go:472
↓ 4 callersFunctionparseOutputWords
(osenv *rsyncos.Env, words []output, levels []uint16, str string, prio priority)
internal/rsyncopts/rsyncopts.go:414
↓ 3 callersMethodAccept
()
integration/ipacl/ipacl_test.go:23
↓ 3 callersFunctionChecksum1
(buf []byte)
internal/rsyncchecksum/rsyncchecksum.go:29
↓ 3 callersFunctionClientRun
rsync/main.c:client_run
internal/maincmd/clientmaincmd.go:257
↓ 3 callersMethodDeleteMode
()
internal/rsyncopts/rsyncopts.go:719
↓ 3 callersFunctionDontRestrict
()
rsyncd/rsyncd.go:63
↓ 3 callersMethodFS
FS returns the underlying fs.FS for use with fs.WalkDir.
internal/sender/source.go:15
↓ 3 callersFunctionFromString
(input string)
internal/rsyncdconfig/config.go:30
↓ 3 callersMethodHelp
()
internal/rsyncopts/rsyncopts.go:524
↓ 3 callersMethodIgnoreTimes
()
internal/rsyncopts/rsyncopts.go:728
↓ 3 callersFunctionOutput
(tb testing.TB, args ...string)
internal/rsynctest/rsynctest.go:208
↓ 3 callersMethodPreserveMTimes
()
internal/rsyncopts/rsyncopts.go:713
↓ 3 callersMethodPreservePerms
()
internal/rsyncopts/rsyncopts.go:714
↓ 3 callersMethodPreserveSpecials
()
internal/rsyncopts/rsyncopts.go:715
↓ 3 callersFunctionRead
()
internal/version/version.go:7
↓ 3 callersMethodRead
(p []byte)
internal/rsyncwire/wire.go:202
next →1–100 of 357, ranked by callers