mirror of
https://github.com/tomru/pdfer.git
synced 2026-03-02 22:17:18 +01:00
14 lines
252 B
TypeScript
14 lines
252 B
TypeScript
import path from 'path'
|
|
|
|
export function getDirPath(id) {
|
|
return `/tmp/pdfer-${id}`
|
|
}
|
|
|
|
export function getDocPath(id) {
|
|
return path.join(getDirPath(id), 'doc.tex')
|
|
}
|
|
|
|
export function getPdfPath(id) {
|
|
return path.join(getDirPath(id), 'doc.pdf')
|
|
}
|