Docs.rs
socket-patch-core-3.1.0
socket-patch-core 3.1.0
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
mikolalysenko
Dependencies
flate2 =1.1.9
normal
fs2 =0.4.3
normal
hex =0.4.3
normal
once_cell =1.21.3
normal
qbsdiff =1.4.4
normal
regex =1.12.3
normal
reqwest =0.12.28
normal
serde =1.0.228
normal
serde_json =1.0.149
normal
sha2 =0.10.9
normal
tar =0.4.45
normal
tempfile =3.26.0
normal
thiserror =2.0.18
normal
tokio =1.50.0
normal
uuid =1.21.0
normal
walkdir =2.5.0
normal
serial_test =3.4.0
dev
tempfile =3.26.0
dev
tokio =1.50.0
dev
Versions
53.68%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module apply
socket_
patch_
core
3.1.0
Module apply
Module Items
Structs
Enums
Functions
In socket_
patch_
core::
patch
socket_patch_core
::
patch
Module
apply
Copy item path
Source
Structs
§
Apply
Result
Result of applying patches to a single package.
Patch
Sources
Patch sources the apply pipeline may use to obtain patched bytes.
Verify
Result
Result of verifying whether a single file can be patched.
Enums
§
Applied
Via
Which patch source actually wrote the patched bytes for a file.
Verify
Status
Status of a file patch verification.
Functions
§
apply_
file_
patch
Apply a patch to a single file.
apply_
package_
patch
Verify and apply patches for a single package.
normalize_
file_
path
Normalize file path by removing the “package/” prefix if present. Patch files come from the API with paths like “package/lib/file.js” but we need relative paths like “lib/file.js” for the actual package directory.
verify_
file_
patch
Verify a single file can be patched.