# dir

abstract fun dir(path: String): Directory(source)

Returns a Directory whose location is the given path, resolved relative to this directory.

#### Return

The directory.

#### Since

4.1

#### Parameters

path

The path. Can be absolute.

abstract fun dir(path: Provider<out CharSequence>): Provider<Directory>(source)

Returns a Provider whose value is a Directory whose location is the given path resolved relative to this directory.

The return value is live and the provided `path` is queried each time the return value is queried.

#### Return

The provider.

#### Since

4.1

#### Parameters

path

The path provider. Can have value that is an absolute path.