MCPcopy Index your code
hub / github.com/larksuite/cli / markdownDiffMode

Function markdownDiffMode

shortcuts/markdown/markdown_diff.go:125–130  ·  view source on GitHub ↗
(spec markdownDiffSpec)

Source from the content-addressed store, hash-verified

123}
124
125func markdownDiffMode(spec markdownDiffSpec) string {
126 if spec.FilePath != "" {
127 return markdownDiffModeRemoteVsLocal
128 }
129 return markdownDiffModeRemoteVsRemote
130}
131
132func markdownDiffDryRun(spec markdownDiffSpec) *common.DryRunAPI {
133 dry := common.NewDryRunAPI().Desc("Download the requested Markdown content, compute a unified diff locally, and print the result without modifying the remote file")

Callers 2

markdownDiffDryRunFunction · 0.85
markdown_diff.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected