Skip to main content

Crate tendrils_core

Crate tendrils_core 

Source
Expand description

Structs§

ActionLog
Contains the metadata from a single tendrils action.
CallbackUpdater
Accepts callbacks to be called by the UpdateHandler methods.
FilterSpec
Defines a series of filters that can be applied to a list of tendrils.
ListLog
Contains the metadata from a single tendril.
RawTendril
Contains the unresolved, unvalidated information to define a single tendril.
TendrilReport
Generic report format for any operation on a RawTendril
TendrilsActor
UniPath
A PathBuf wrapper that guarantees that the path has been resolved in this particular order: 1. Any environment variables have been resolved 2. A leading tilde has been resolved 3. A non-rooted path has been rooted. The default conversion to rooted occurs by prepending / on Unix or \ on Windows. A different root can be provided by constructing the UniPath using UniPath::new_with_root. 4. Unix style path separators (/) have been replaced with \ (Windows only)

Enums§

ActionMode
Indicates the tendril action to be performed.
ConfigType
Indicates the type of configuration file.
FsoType
Indicates a type of file system object
GetConfigError
Indicates an error while reading/parsing a configuration file.
GetTendrilsRepoError
Indicates an error while determining the Tendrils repo to use.
InitError
Indicates an error while initializing a new Tendrils repo.
InvalidTendrilError
Indicates an invalid tendril field.
Location
Indicates a side of a file system transaction
SetupError
Indicates an error with the setup of a Tendrils repo.
TendrilActionError
Indicates an unsuccessful tendril action.
TendrilActionSuccess
Indicates a successful tendril action.
TendrilMode
Indicates the behaviour of this tendril, and determines whether it is a copy-type, or a link-type tendril.

Traits§

TendrilLog
Generic log information for any operation on a tendril
TendrilsApi
Represents the public Tendrils API. Although the API functions are not static (i.e. they require an API instance), this is mainly to facilitate easier mocking for testing. The actual API implementation should have little to no state.
UpdateHandler
Contains various updater functions for live feedback during a tendrils command.