2022-12-05 23:05:28 +00:00
|
|
|
---
|
2022-12-15 01:05:11 +00:00
|
|
|
title: Interface hilbish.userDir
|
2022-12-05 23:05:28 +00:00
|
|
|
description: user-related directories
|
2022-12-15 01:05:11 +00:00
|
|
|
layout: doc
|
|
|
|
menu:
|
|
|
|
docs:
|
|
|
|
parent: "API"
|
2022-12-05 23:05:28 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
## Introduction
|
|
|
|
This interface just contains properties to know about certain user directories.
|
|
|
|
It is equivalent to XDG on Linux and gets the user's preferred directories
|
|
|
|
for configs and data.
|
|
|
|
|
2022-12-14 00:12:16 +00:00
|
|
|
## Interface fields
|
2022-12-05 23:05:28 +00:00
|
|
|
- `config`: The user's config directory
|
|
|
|
- `data`: The user's directory for program data
|
2022-12-14 00:12:16 +00:00
|
|
|
|