getUserDirectory.lua 408 B

123456789101112131415161718
  1. return {
  2. tag = 'filesystem-paths',
  3. summary = 'Get the location of the user\'s home directory.',
  4. description = 'Returns the absolute path of the user\'s home directory.',
  5. arguments = {},
  6. returns = {
  7. path = {
  8. type = 'string',
  9. description = 'The absolute path of the user\'s home directory.'
  10. }
  11. },
  12. variants = {
  13. {
  14. arguments = {},
  15. returns = { 'path' }
  16. }
  17. }
  18. }