Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultRepoURL = "https://p3m.dev/cran/latest"
Variables ¶
This section is empty.
Functions ¶
func DefaultRepositories ¶
func DefaultRepositories() []manifest.Repository
DefaultRepositories returns the default repository list.
func Entrypoint ¶
Entrypoint returns the primary entrypoint file name.
func FileChecksums ¶
FileChecksums walks the directory and computes SHA-256 checksums for all regular files, skipping hidden files and renv artifacts.
Types ¶
type Result ¶
type Result struct {
// Which input case was detected.
InputCase InputCase
// App name (directory basename).
Name string
// App mode (shiny).
Mode string
// Entrypoint file.
Entrypoint string
// Dependency label for display.
DepsLabel string
// Repository URL for display.
RepoLabel string
}
Result holds the results of app detection from a source directory.
Click to show internal directories.
Click to hide internal directories.