Skip to content

Commit 9fba160

Browse files
author
luii
committed
Update documentation of filterUser
1 parent 4389219 commit 9fba160

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

server.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -306,10 +306,10 @@ function overlay_user(usersFolder, user, callback)
306306

307307
/**
308308
* Filter folders that are valid user `$HOME`
309-
* If the first char is not a dot (invisible folder?) and not `root` and not
310-
* ´lost+found´ return true
311309
* @access private
312-
* @param {String} user The name of the user
310+
* @param {String} user The name of the user
311+
* @return {Boolean} Returns true If the first char is not a dot
312+
* and not `root` and not ´lost+found´
313313
*/
314314
function filterUser(user)
315315
{
@@ -423,7 +423,7 @@ function askLocation(error)
423423
}
424424

425425
/**
426-
* If the single key is set in the cmdline it starts a admin repl
426+
* If the `single` key is set in the cmdline it starts a admin repl
427427
* If not it just overlays the users filesystem
428428
* @access private
429429
* @param {String} home The path to folder of the users

0 commit comments

Comments
 (0)