Docs.rs
socket-patch-core-1.6.3
socket-patch-core 1.6.3
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
mikolalysenko
Dependencies
hex ^0.4
normal
once_cell ^1
normal
regex ^1
normal
reqwest ^0.12
normal
serde ^1
normal
serde_json ^1
normal
sha2 ^0.10
normal
thiserror ^2
normal
tokio ^1
normal
uuid ^1
normal
walkdir ^2
normal
tempfile ^3
dev
tokio ^1
dev
Versions
48.07%
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
1.6.3
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.
Verify
Result
Result of verifying whether a single file can be patched.
Enums
§
Verify
Status
Status of a file patch verification.
Functions
§
apply_
file_
patch
Apply a patch to a single file. Writes the patched content and verifies the resulting hash.
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.