UNPKG
apisurf
Version:
latest (1.4.0)
1.4.0
1.3.3
1.3.2
1.3.1
1.3.0
1.2.1
1.2.0
1.1.1
0.1.0
Analyze API surface changes between npm package versions to catch breaking changes
apisurf
/
lib
/
utilities
/
getCurrentBranch.d.ts
6 lines
(5 loc)
•
181 B
TypeScript
View Raw
1
2
3
4
5
6
/** * Gets the current Git branch name. * Returns 'HEAD' if unable to determine the branch (e.g., in detached HEAD state). */
export
declare function
getCurrentBranch
()
: string;