package
0.0.0-20241220161610-43cd2ce6cb17
Repository: https://github.com/apenella/ransidble.git
Documentation: pkg.go.dev

# Functions

NewFactory creates a new Factory for fetching source code.
NewLocalFetchDir creates a new local fetch directory.
NewLocalFetchFile creates a new local fetch file.
NewLocalStorage creates a new local project repository.

# Variables

ErrCopyingAFileFromLocalToDirWorkingDir represents an error copying a file in the working directory.
ErrCopyingFilesToWorkingDir represents an error copying files to working directory.
ErrCreatingADirectoryInLocalDirWorkingDir represents an error creating a directory in the working directory.
ErrCreatingAFileFromLocalToDirWorkingDir represents an error creating a file in the working directory.
ErrFetchingProjectFromLocalStorage represents an error when fetching a project from local storage.
ErrFileSystemNotInitialized represents an error when the filesystem is not initialized.
ErrGettingSourceCodeRelativePathFromLocalDir represents an error getting the relative path of the source code.
ErrInvalidProjectReference represents an error when the project reference is invalid.
ErrOpeningASourceCodeFileFromLocalDir represents an error opening a source code file.
ErrProjectNotProvided represents an error when the project is not provided.
ErrProjectReferenceNotProvided represents an error when the project reference is not provided.
ErrSourceCodeNotExists represents an error when the source code does not exists.
ErrWalkingDirToFetchSourceCodeFromLocalDir represents an error walking through the source code directory.
ErrWorkingDirNotExists represents an error when the destination to fetch does not exists.
ErrWorkingDirNotProvided represents an error when the working directory is not provided.

# Structs

Factory represents the factory for fetching source code components.
LocalFetchDir struct for fetching project from local directory.
LocalFetchFile represents the local fetcher for fetching source code components from a file.
LocalStorage represents a repository on local storage.

# Interfaces

SourceCodeFetcher represents the interface for fetching source code components.