Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
782 changes: 449 additions & 333 deletions src/pkg.sml

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions src/pkginfo.sig
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ signature PKG_INFO = sig
type semver = SemVer.t

type pkg_revinfo
val pkgRevZipballUrl : pkg_revinfo -> string
val pkgRevZipballDir : pkg_revinfo -> string
val pkgRevRepoUrl : pkg_revinfo -> string
val pkgRevRef : pkg_revinfo -> string
val pkgRevCommit : pkg_revinfo -> string
val pkgRevGetManifest : pkg_revinfo -> Manifest.t (* cached access *)
val pkgRevTime : pkg_revinfo -> Time.time
Expand All @@ -20,5 +20,9 @@ signature PKG_INFO = sig
val lookupPackageRev : pkgpath -> semver -> pkg_revinfo
val lookupNewestRev : pkgpath -> semver

(* Cache management *)
val getCachedRepo : string -> string (* Get cached repository for URL *)
val cleanupCache : unit -> unit (* Clean up temporary cache directory *)

val verboseFlag : bool ref
end
Loading