mirror of
https://github.com/NixOS/nix.git
synced 2025-11-15 06:52:43 +01:00
refactor(libstore): extract S3 URL parsing into separate files
Move ParsedS3URL from s3.cc/.hh into dedicated s3-url.cc/.hh files. This separates URL parsing utilities (which are protocol-agnostic) from the AWS SDK-specific S3Helper implementation, making the code cleaner and enabling reuse by future curl-based S3 implementation.
This commit is contained in:
parent
251479bdda
commit
b72898b2aa
7 changed files with 76 additions and 59 deletions
|
|
@ -77,7 +77,7 @@ sources = files(
|
|||
'realisation.cc',
|
||||
'references.cc',
|
||||
's3-binary-cache-store.cc',
|
||||
's3.cc',
|
||||
's3-url.cc',
|
||||
'serve-protocol.cc',
|
||||
'ssh-store.cc',
|
||||
'store-reference.cc',
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#include "nix/store/s3.hh"
|
||||
#include "nix/store/s3-url.hh"
|
||||
#include "nix/util/tests/gmock-matchers.hh"
|
||||
|
||||
#if NIX_WITH_S3_SUPPORT
|
||||
Loading…
Add table
Add a link
Reference in a new issue