PICurv 0.1.0
A Parallel Particle-In-Cell Solver for Curvilinear LES
 
Loading...
Searching...
No Matches
Namespaces | Functions
transport.py File Reference

The rclone process boundary and remote object addressing. More...

Go to the source code of this file.

Namespaces

namespace  picurv_cli
 
namespace  picurv_cli.storage
 
namespace  picurv_cli.storage.transport
 

Functions

str picurv_cli.storage.transport._remote_join (str remote, *str parts)
 Join path components without corrupting rclone remote syntax.
 
str picurv_cli.storage.transport._object_remote (dict profile, str archive_id, *str parts)
 Return the remote path for one immutable archive object.
 
str picurv_cli.storage.transport._blob_remote (dict profile, str digest)
 Return the remote path of one content-addressed payload blob.
 
str picurv_cli.storage.transport._chunk_remote_path (dict profile, str archive_id, dict chunk)
 Resolve where one manifest chunk's payload lives on the remote.
 
bool picurv_cli.storage.transport._remote_blob_present (dict profile, str digest)
 Whether a blob with this digest is already stored and intact.
 
subprocess.CompletedProcess picurv_cli.storage.transport._run_rclone (list arguments, bool check=True)
 Invoke rclone through the same argv-based subprocess boundary as other PICurv tools.
 
str picurv_cli.storage.transport._remote_sha256 (str remote_path)
 Ask rclone to calculate or retrieve the SHA-256 of one remote object.
 
dict picurv_cli.storage.transport._upload_verified (str local_path, str remote_path)
 Upload one file, then verify its remote SHA-256.
 
bytes picurv_cli.storage.transport._read_remote_bytes (str remote_path)
 Read a small remote catalog object through rclone.
 
dict picurv_cli.storage.transport._load_remote_manifest (dict profile, str archive_id, bool require_complete=True)
 Fetch and validate one versioned remote storage manifest.
 

Detailed Description

The rclone process boundary and remote object addressing.

Definition in file transport.py.