Sha256: af0f0a2384b1702c98bd37693de0e8429ab2d8cfc08763173f265b67ab114ef6

Contents?: true

Size: 843 Bytes

Versions: 34

Compression:

Stored size: 843 Bytes

Contents

# Configuration root

**Key**: root  
**Default value**:

   1. the root of the local git repository, if run inside a git repository
   1. the directory that `licensed` is run from

An application's root path is used as the base for any relative configuration paths in the application.

From a configuration file, the root value can be specified as one of the following.  Path string values can contain special path characters.

- a relative path from the configuration file location
- an absolute path
- `true` to use the configuration file's directory as the root

When creating a `Licensed::AppConfiguration` manually with a `root` property, the property must be an absolute path - no path expansion will occur.

```yml
root: path/from/configuration
# or
root: /absolute/path/to/root
# or
root: ~/path/from/home/to/root
# or
root: true
```

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
licensed-5.0.0 docs/configuration/configuration_root.md
licensed-4.5.0 docs/configuration/configuration_root.md
licensed-4.4.0 docs/configuration/configuration_root.md
licensed-4.3.1 docs/configuration/configuration_root.md
licensed-4.3.0 docs/configuration/configuration_root.md
licensed-4.2.0 docs/configuration/configuration_root.md
licensed-4.1.0 docs/configuration/configuration_root.md
licensed-4.0.4 docs/configuration/configuration_root.md
licensed-4.0.3 docs/configuration/configuration_root.md
licensed-4.0.2 docs/configuration/configuration_root.md
licensed-4.0.1 docs/configuration/configuration_root.md
licensed-4.0.0 docs/configuration/configuration_root.md
licensed-3.9.1 docs/configuration/configuration_root.md
licensed-3.9.0 docs/configuration/configuration_root.md
licensed-3.8.0 docs/configuration/configuration_root.md
licensed-3.7.5 docs/configuration/configuration_root.md
licensed-3.7.4 docs/configuration/configuration_root.md
licensed-3.7.3 docs/configuration/configuration_root.md
licensed-3.7.2 docs/configuration/configuration_root.md
licensed-3.7.1 docs/configuration/configuration_root.md