Toggle navigation
P3X GitList Snapshot
GitHub
Repo
Changelog
To do
Releases
Themes
Change log
Loading change log ...
To do ...
Loading todo ...
browsing:
21ae8b17504b5d497b56a2b9e88b4d2f29dae56c
Branches
master
Files
Commits
Log
Graph
Stats
ramdisk.git
src
userid.js
RSS
Git
Fetch origin
Download
ZIP
TAR
Clone
Raw
View
History
Clone
SSH
HTTPS
Blames found: 3
Mode: javascript
Binary: false
Hang on, we reloading big blames...
724156a2
const {execSync} = require('child_process')
dab4686c
module.exports.uid = (username) => { const output = execSync(`id -u ${username}`).toString().trim() return parseInt(output) } module.exports.gid = (username) => { const output = execSync(`id -g ${username}`).toString().trim() return parseInt(output)
724156a2
}