René's URL Explorer Experiment


Title: applypatch package - github.com/fgn/applypatch - Go Packages

direct link

Domain: pkg.go.dev

NoneIE=edge
DescriptionPackage applypatch applies the patches that OpenAI models write with the apply_patch tool, to strings in memory.

Links:

https://go.dev/
Skip to Main Content https://pkg.go.dev/github.com/fgn/applypatch#main-content
Why Go https://pkg.go.dev/github.com/fgn/applypatch
Case Studies https://go.dev/solutions/case-studies
Use Cases https://go.dev/solutions/use-cases
Security https://go.dev/security/
Learnhttps://go.dev/learn/
Docs https://pkg.go.dev/github.com/fgn/applypatch
Effective Go https://go.dev/doc/effective_go
Go User Manual https://go.dev/doc/
Standard library https://pkg.go.dev/std
Release Notes https://go.dev/doc/devel/release
API https://pkg.go.dev/api
Packageshttps://pkg.go.dev/
Community https://pkg.go.dev/github.com/fgn/applypatch
Recorded Talks https://go.dev/talks/
Meetups https://www.meetup.com/pro/go
Conferences https://github.com/golang/go/wiki/Conferences
Go blog https://go.dev/blog
Go project https://go.dev/help
https://groups.google.com/g/golang-nuts
https://github.com/golang
https://twitter.com/golang
https://www.reddit.com/r/golang/
https://invite.slack.golangbridge.org/
https://stackoverflow.com/collectives/go
https://go.dev/
Why Go https://pkg.go.dev/github.com/fgn/applypatch
Why Go https://pkg.go.dev/github.com/fgn/applypatch
Case Studies https://go.dev/solutions/case-studies
Use Cases https://go.dev/solutions/use-cases
Security https://go.dev/security/
Learnhttps://go.dev/learn/
Docs https://pkg.go.dev/github.com/fgn/applypatch
Docs https://pkg.go.dev/github.com/fgn/applypatch
Effective Go https://go.dev/doc/effective_go
Go User Manual https://go.dev/doc/
Standard library https://pkg.go.dev/std
Release Notes https://go.dev/doc/devel/release
API https://pkg.go.dev/api
Packageshttps://pkg.go.dev/
Community https://pkg.go.dev/github.com/fgn/applypatch
Community https://pkg.go.dev/github.com/fgn/applypatch
Recorded Talks https://go.dev/talks/
Meetups https://www.meetup.com/pro/go
Conferences https://github.com/golang/go/wiki/Conferences
Go blog https://go.dev/blog
Go project https://go.dev/help
https://groups.google.com/g/golang-nuts
https://github.com/golang
https://twitter.com/golang
https://www.reddit.com/r/golang/
https://invite.slack.golangbridge.org/
https://stackoverflow.com/collectives/go
Discover Packageshttps://pkg.go.dev/
github.com/fgn/applypatch https://pkg.go.dev/github.com/fgn/applypatch@v0.1.0
https://go.dev/
Version: v0.1.0 https://pkg.go.dev/github.com/fgn/applypatch?tab=versions
Go to latest https://pkg.go.dev/github.com/fgn/applypatch
MIT, Apache-2.0https://pkg.go.dev/github.com/fgn/applypatch?tab=licenses
Imports: 9 https://pkg.go.dev/github.com/fgn/applypatch?tab=imports
Imported by: 0 https://pkg.go.dev/github.com/fgn/applypatch?tab=importedby
go.modhttps://github.com/fgn/applypatch/tree/v0.1.0/go.mod
Learn more about best practiceshttps://pkg.go.dev/about#best-practices
github.com/fgn/applypatch https://github.com/fgn/applypatch
Open Source Insights https://deps.dev/go/github.com%2Ffgn%2Fapplypatch/v0.1.0
README https://pkg.go.dev/github.com/fgn/applypatch#section-readme
Install https://pkg.go.dev/github.com/fgn/applypatch#readme-install
Usage https://pkg.go.dev/github.com/fgn/applypatch#readme-usage
Modes https://pkg.go.dev/github.com/fgn/applypatch#readme-modes
Development https://pkg.go.dev/github.com/fgn/applypatch#readme-development
License https://pkg.go.dev/github.com/fgn/applypatch#readme-license
Documentation https://pkg.go.dev/github.com/fgn/applypatch#section-documentation
Overviewhttps://pkg.go.dev/github.com/fgn/applypatch#pkg-overview
Index https://pkg.go.dev/github.com/fgn/applypatch#pkg-index
Examples https://pkg.go.dev/github.com/fgn/applypatch#pkg-examples
Apply https://pkg.go.dev/github.com/fgn/applypatch#example-Apply
ApplyBatch https://pkg.go.dev/github.com/fgn/applypatch#example-ApplyBatch
ApplyFiles https://pkg.go.dev/github.com/fgn/applypatch#example-ApplyFiles
CodexTool https://pkg.go.dev/github.com/fgn/applypatch#example-CodexTool
Mode.Apply https://pkg.go.dev/github.com/fgn/applypatch#example-Mode.Apply
Constants https://pkg.go.dev/github.com/fgn/applypatch#pkg-constants
Variables https://pkg.go.dev/github.com/fgn/applypatch#pkg-variables
Functions https://pkg.go.dev/github.com/fgn/applypatch#pkg-functions
Apply(input, diff) https://pkg.go.dev/github.com/fgn/applypatch#Apply
ApplyBatch(input, diffs) https://pkg.go.dev/github.com/fgn/applypatch#ApplyBatch
ApplyFiles(files, patch) https://pkg.go.dev/github.com/fgn/applypatch#ApplyFiles
Types https://pkg.go.dev/github.com/fgn/applypatch#pkg-types
type Mode https://pkg.go.dev/github.com/fgn/applypatch#Mode
(m) Apply(input, diff) https://pkg.go.dev/github.com/fgn/applypatch#Mode.Apply
(m) ApplyBatch(input, diffs) https://pkg.go.dev/github.com/fgn/applypatch#Mode.ApplyBatch
(m) ApplyFiles(files, patch) https://pkg.go.dev/github.com/fgn/applypatch#Mode.ApplyFiles
(m) String() https://pkg.go.dev/github.com/fgn/applypatch#Mode.String
type Operation https://pkg.go.dev/github.com/fgn/applypatch#Operation
type OperationKind https://pkg.go.dev/github.com/fgn/applypatch#OperationKind
(k) String() https://pkg.go.dev/github.com/fgn/applypatch#OperationKind.String
type Patch https://pkg.go.dev/github.com/fgn/applypatch#Patch
Parse(patch) https://pkg.go.dev/github.com/fgn/applypatch#Parse
type Tool https://pkg.go.dev/github.com/fgn/applypatch#Tool
CodexTool() https://pkg.go.dev/github.com/fgn/applypatch#CodexTool
type ToolFormat https://pkg.go.dev/github.com/fgn/applypatch#ToolFormat
Source Files https://pkg.go.dev/github.com/fgn/applypatch#section-sourcefiles
https://pkg.go.dev/github.com/fgn/applypatch#section-readme
https://pkg.go.dev/github.com/fgn/applypatch
https://github.com/fgn/applypatch/blob/v0.1.0/NOTICE
apply_patchhttps://developers.openai.com/api/docs/guides/tools-apply-patch
Codex CLIhttps://github.com/openai/codex
Taskhttps://taskfile.dev
taskfile.dev/docs/installationhttps://taskfile.dev/docs/installation
NOTICEhttps://github.com/fgn/applypatch/blob/v0.1.0/NOTICE
OpenAI Agents SDK for JavaScripthttps://github.com/openai/openai-agents-js
apply_patchhttps://github.com/openai/codex/tree/main/codex-rs/apply-patch
https://pkg.go.dev/github.com/fgn/applypatch#section-documentation
https://pkg.go.dev/github.com/fgn/applypatch#pkg-overview
https://pkg.go.dev/github.com/fgn/applypatch#pkg-index
func Apply(input, diff string) (string, error)https://pkg.go.dev/github.com/fgn/applypatch#Apply
func ApplyBatch(input string, diffs []string) (string, error)https://pkg.go.dev/github.com/fgn/applypatch#ApplyBatch
func ApplyFiles(files map[string]string, patch string) (map[string]string, error)https://pkg.go.dev/github.com/fgn/applypatch#ApplyFiles
type Modehttps://pkg.go.dev/github.com/fgn/applypatch#Mode
func (m Mode) Apply(input, diff string) (string, error)https://pkg.go.dev/github.com/fgn/applypatch#Mode.Apply
func (m Mode) ApplyBatch(input string, diffs []string) (string, error)https://pkg.go.dev/github.com/fgn/applypatch#Mode.ApplyBatch
func (m Mode) ApplyFiles(files map[string]string, patch string) (map[string]string, error)https://pkg.go.dev/github.com/fgn/applypatch#Mode.ApplyFiles
func (m Mode) String() stringhttps://pkg.go.dev/github.com/fgn/applypatch#Mode.String
type Operationhttps://pkg.go.dev/github.com/fgn/applypatch#Operation
type OperationKindhttps://pkg.go.dev/github.com/fgn/applypatch#OperationKind
func (k OperationKind) String() stringhttps://pkg.go.dev/github.com/fgn/applypatch#OperationKind.String
type Patchhttps://pkg.go.dev/github.com/fgn/applypatch#Patch
func Parse(patch string) (*Patch, error)https://pkg.go.dev/github.com/fgn/applypatch#Parse
type Toolhttps://pkg.go.dev/github.com/fgn/applypatch#Tool
func CodexTool() Toolhttps://pkg.go.dev/github.com/fgn/applypatch#CodexTool
type ToolFormathttps://pkg.go.dev/github.com/fgn/applypatch#ToolFormat
https://pkg.go.dev/github.com/fgn/applypatch#pkg-examples
Applyhttps://pkg.go.dev/github.com/fgn/applypatch#example-Apply
ApplyBatchhttps://pkg.go.dev/github.com/fgn/applypatch#example-ApplyBatch
ApplyFileshttps://pkg.go.dev/github.com/fgn/applypatch#example-ApplyFiles
CodexToolhttps://pkg.go.dev/github.com/fgn/applypatch#example-CodexTool
Mode.Applyhttps://pkg.go.dev/github.com/fgn/applypatch#example-Mode.Apply
https://pkg.go.dev/github.com/fgn/applypatch#pkg-constants
https://pkg.go.dev/github.com/fgn/applypatch#pkg-variables
https://pkg.go.dev/github.com/fgn/applypatch#pkg-functions
Applyhttps://github.com/fgn/applypatch/blob/v0.1.0/mode.go#L174
https://pkg.go.dev/github.com/fgn/applypatch#Apply
stringhttps://pkg.go.dev/builtin#string
stringhttps://pkg.go.dev/builtin#string
errorhttps://pkg.go.dev/builtin#error
https://pkg.go.dev/github.com/fgn/applypatch#example-Apply
ApplyBatchhttps://github.com/fgn/applypatch/blob/v0.1.0/mode.go#L179
https://pkg.go.dev/github.com/fgn/applypatch#ApplyBatch
stringhttps://pkg.go.dev/builtin#string
stringhttps://pkg.go.dev/builtin#string
stringhttps://pkg.go.dev/builtin#string
errorhttps://pkg.go.dev/builtin#error
https://pkg.go.dev/github.com/fgn/applypatch#example-ApplyBatch
ApplyFileshttps://github.com/fgn/applypatch/blob/v0.1.0/mode.go#L184
https://pkg.go.dev/github.com/fgn/applypatch#ApplyFiles
stringhttps://pkg.go.dev/builtin#string
stringhttps://pkg.go.dev/builtin#string
stringhttps://pkg.go.dev/builtin#string
stringhttps://pkg.go.dev/builtin#string
stringhttps://pkg.go.dev/builtin#string
errorhttps://pkg.go.dev/builtin#error
https://pkg.go.dev/github.com/fgn/applypatch#example-ApplyFiles
https://pkg.go.dev/github.com/fgn/applypatch#pkg-types
Modehttps://github.com/fgn/applypatch/blob/v0.1.0/mode.go#L12
https://pkg.go.dev/github.com/fgn/applypatch#Mode
inthttps://pkg.go.dev/builtin#int
Modehttps://pkg.go.dev/github.com/fgn/applypatch#Mode
iotahttps://pkg.go.dev/builtin#iota
Applyhttps://github.com/fgn/applypatch/blob/v0.1.0/mode.go#L49
https://pkg.go.dev/github.com/fgn/applypatch#Mode.Apply
Modehttps://pkg.go.dev/github.com/fgn/applypatch#Mode
stringhttps://pkg.go.dev/builtin#string
stringhttps://pkg.go.dev/builtin#string
errorhttps://pkg.go.dev/builtin#error
https://pkg.go.dev/github.com/fgn/applypatch#example-Mode.Apply
ApplyBatchhttps://github.com/fgn/applypatch/blob/v0.1.0/mode.go#L63
https://pkg.go.dev/github.com/fgn/applypatch#Mode.ApplyBatch
Modehttps://pkg.go.dev/github.com/fgn/applypatch#Mode
stringhttps://pkg.go.dev/builtin#string
stringhttps://pkg.go.dev/builtin#string
stringhttps://pkg.go.dev/builtin#string
errorhttps://pkg.go.dev/builtin#error
ApplyFileshttps://github.com/fgn/applypatch/blob/v0.1.0/mode.go#L86
https://pkg.go.dev/github.com/fgn/applypatch#Mode.ApplyFiles
Modehttps://pkg.go.dev/github.com/fgn/applypatch#Mode
stringhttps://pkg.go.dev/builtin#string
stringhttps://pkg.go.dev/builtin#string
stringhttps://pkg.go.dev/builtin#string
stringhttps://pkg.go.dev/builtin#string
stringhttps://pkg.go.dev/builtin#string
errorhttps://pkg.go.dev/builtin#error
Stringhttps://github.com/fgn/applypatch/blob/v0.1.0/mode.go#L33
https://pkg.go.dev/github.com/fgn/applypatch#Mode.String
Modehttps://pkg.go.dev/github.com/fgn/applypatch#Mode
stringhttps://pkg.go.dev/builtin#string
Operationhttps://github.com/fgn/applypatch/blob/v0.1.0/patch.go#L56
https://pkg.go.dev/github.com/fgn/applypatch#Operation
OperationKindhttps://pkg.go.dev/github.com/fgn/applypatch#OperationKind
stringhttps://pkg.go.dev/builtin#string
stringhttps://pkg.go.dev/builtin#string
stringhttps://pkg.go.dev/builtin#string
stringhttps://pkg.go.dev/builtin#string
OperationKindhttps://github.com/fgn/applypatch/blob/v0.1.0/patch.go#L31
https://pkg.go.dev/github.com/fgn/applypatch#OperationKind
inthttps://pkg.go.dev/builtin#int
OperationKindhttps://pkg.go.dev/github.com/fgn/applypatch#OperationKind
iotahttps://pkg.go.dev/builtin#iota
Stringhttps://github.com/fgn/applypatch/blob/v0.1.0/patch.go#L43
https://pkg.go.dev/github.com/fgn/applypatch#OperationKind.String
OperationKindhttps://pkg.go.dev/github.com/fgn/applypatch#OperationKind
stringhttps://pkg.go.dev/builtin#string
Patchhttps://github.com/fgn/applypatch/blob/v0.1.0/patch.go#L71
https://pkg.go.dev/github.com/fgn/applypatch#Patch
stringhttps://pkg.go.dev/builtin#string
Operationhttps://pkg.go.dev/github.com/fgn/applypatch#Operation
Parsehttps://github.com/fgn/applypatch/blob/v0.1.0/patch.go#L103
https://pkg.go.dev/github.com/fgn/applypatch#Parse
stringhttps://pkg.go.dev/builtin#string
Patchhttps://pkg.go.dev/github.com/fgn/applypatch#Patch
errorhttps://pkg.go.dev/builtin#error
Toolhttps://github.com/fgn/applypatch/blob/v0.1.0/tool.go#L18
https://pkg.go.dev/github.com/fgn/applypatch#Tool
stringhttps://pkg.go.dev/builtin#string
stringhttps://pkg.go.dev/builtin#string
stringhttps://pkg.go.dev/builtin#string
ToolFormathttps://pkg.go.dev/github.com/fgn/applypatch#ToolFormat
CodexToolhttps://github.com/fgn/applypatch/blob/v0.1.0/tool.go#L36
https://pkg.go.dev/github.com/fgn/applypatch#CodexTool
Toolhttps://pkg.go.dev/github.com/fgn/applypatch#Tool
https://pkg.go.dev/github.com/fgn/applypatch#example-CodexTool
ToolFormathttps://github.com/fgn/applypatch/blob/v0.1.0/tool.go#L26
https://pkg.go.dev/github.com/fgn/applypatch#ToolFormat
stringhttps://pkg.go.dev/builtin#string
stringhttps://pkg.go.dev/builtin#string
stringhttps://pkg.go.dev/builtin#string
https://pkg.go.dev/github.com/fgn/applypatch#section-sourcefiles
View all Source fileshttps://github.com/fgn/applypatch/tree/v0.1.0
codex.gohttps://github.com/fgn/applypatch/blob/v0.1.0/codex.go
doc.gohttps://github.com/fgn/applypatch/blob/v0.1.0/doc.go
mode.gohttps://github.com/fgn/applypatch/blob/v0.1.0/mode.go
patch.gohttps://github.com/fgn/applypatch/blob/v0.1.0/patch.go
strict.gohttps://github.com/fgn/applypatch/blob/v0.1.0/strict.go
tool.gohttps://github.com/fgn/applypatch/blob/v0.1.0/tool.go
Why Go https://go.dev/solutions
Use Cases https://go.dev/solutions/use-cases
Case Studies https://go.dev/solutions/case-studies
Get Started https://learn.go.dev/
Playground https://play.golang.org
Tour https://tour.golang.org
Stack Overflow https://stackoverflow.com/questions/tagged/go?tab=Newest
Help https://go.dev/help
Packages https://pkg.go.dev
Standard Library https://pkg.go.dev/std
Sub-repositories https://pkg.go.dev/golang.org/x
About Go Packages https://pkg.go.dev/about
pkg.go.dev API https://pkg.go.dev/api
About https://go.dev/project
Downloadhttps://go.dev/dl/
Bloghttps://go.dev/blog
Issue Tracker https://github.com/golang/go/issues
Release Notes https://go.dev/doc/devel/release.html
Brand Guidelines https://go.dev/brand
Code of Conduct https://go.dev/conduct
Connect https://www.twitter.com/golang
Twitter https://www.twitter.com/golang
GitHubhttps://github.com/golang
Slack https://invite.slack.golangbridge.org/
r/golang https://reddit.com/r/golang
Meetup https://www.meetup.com/pro/go
Golang Weekly https://golangweekly.com/
Copyrighthttps://go.dev/copyright
Terms of Servicehttps://go.dev/tos
Privacy Policy http://www.google.com/intl/en/policies/privacy/
Report an Issue https://go.dev/s/pkgsite-feedback
https://google.com
Learn more.https://policies.google.com/technologies/cookies

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.