chore(pointers): make readPointerInfo importable
This commit is contained in:
parent
aa6573b770
commit
669d58852d
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ function isValidPointerInfo(val: Record<string, any>): val is PointerInfo {
|
|||
}
|
||||
|
||||
|
||||
function readPointerInfo(content: Buffer): PointerInfo {
|
||||
export function readPointerInfo(content: Buffer): PointerInfo {
|
||||
const info = content.toString().trim().split('\n').reduce((accum, line) => {
|
||||
const [k, v] = line.split(' ', 2);
|
||||
if (k === 'oid') {
|
||||
|
|
Loading…
Reference in a new issue