shortHash
export function shortHash(hash: string, len = 8): string { return `#${hash.slice(0, len)}`; }
used by
- tcmts.cli.attest.attest
- tcmts.cli.builds.makeBuild
- tcmts.cli.builds.printBuilds
- tcmts.cli.changes.historyList
- tcmts.cli.changes.namesChanged
- tcmts.cli.codebase.Codebase
- tcmts.cli.contributions.mergeContribution
- tcmts.cli.contributions.viewContribution
- tcmts.cli.diff.diffReport
- tcmts.cli.docs.current
- tcmts.cli.libraries.libraryLabel
- tcmts.cli.lsp.serveLsp
- tcmts.cli.main.analyzeScratch
- tcmts.cli.main.apply
- tcmts.cli.main.at
- tcmts.cli.main.chooseReset
- tcmts.cli.main.classifyPaths
- tcmts.cli.main.diff
- tcmts.cli.main.find
- tcmts.cli.main.findByType
- tcmts.cli.main.header
- tcmts.cli.main.history
- tcmts.cli.main.ls
- tcmts.cli.main.nameChanges
- tcmts.cli.main.replacedUses
- tcmts.cli.main.reset
- tcmts.cli.main.resolveConflict
- tcmts.cli.main.todo
- tcmts.cli.main.verify
- tcmts.cli.main.view
- tcmts.cli.merge.conflictLine
- tcmts.cli.merge.conflictPairs
- tcmts.cli.merge.namesElsewhere
- tcmts.cli.merge.printTextMerge
- tcmts.cli.merge.revertEntry
- tcmts.cli.pages.definitionPage
- tcmts.cli.release_pages.releaseList
- tcmts.cli.releases.planRelease
- tcmts.cli.run.runApps
- tcmts.cli.run.runContribution
- tcmts.cli.run.runDescribe
- tcmts.cli.run.runFmt
- tcmts.cli.run.runLint
- tcmts.cli.run.runRelease
- tcmts.cli.run.runReleases
- tcmts.cli.run.runResolve
- tcmts.cli.sync.Peer
- tcmts.cli.sync.differ
- tcmts.cli.sync.fetchClosure
- tcmts.cli.sync.serve
- tcmts.cli.sync.validNames
- tcmts.cli.ui.chooseName
- tcmts.cli.upgrade.upgradeTo
- tcmts.cli.views.viewText
- tcmts.cli.web.build
- tcmts.cli.web.dev
- tcmts.cli.web.pruneBuilds
- tcmts.cli.web.renderPage
- tcmts.cli.web.reportPlan
- tcmts.cli.web.rpcHandler
- tcmts.cli.web.start
- tcmts.cli.web.startBackground
- tcmts.hub.pages.LibraryPage
- tcmts.share.ChangeBox
- tcmts.share.ContributionPage
- tcmts.share.EntryPage
- tcmts.share.FrontPage
- tcmts.share.MergeBox
- tcmts.share.ReleasesPage
- tcmts.share.contributionChanges