# PackageDirectory context

```ts
const PackageDirectoryContext: ComponentContext<PackageDirectoryContext>
```

## Accessor

```ts
const myContext = useContext(PackageDirectoryContext);
```

## Context interface

|               |                                                   |   |
| ------------- | ------------------------------------------------- | - |
| name          | string                                            |   |
| path          | string                                            |   |
| qualifiedName | string                                            |   |
| scope         | [JavaPackageScope](../../types/javapackagescope/) |   |
