pub struct Store<S, B, const BAR: bool = true> { /* private fields */ }
Expand description

A Store that contains all the packages installed by any user Content Addressable Store

Implementations

Opens a store under the specified path. Returns an error if the path does not exists or does not contain the necessary files

Links only the package at the specified path. If the package itself has object linked to other packages, link to the link.

Links all the packages to the specified path.

Creates a new store directory under the given path. Will return an Error if the directory already exists

Inserts a package into the store and returns true if the package was not present and was inserted and false if it was already present.

Remove all packages that are currently unused in all generations.

Flushes all data to the backend

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more