reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint

Printable idea sheet

import_folder_targets

reqlan rq/extension/language/support/features-imports.rq:71

Katz 0.164

An import path may refer to a folder.
A folder is a valid import target when that path exists as a directory.
Namespace import of a folder binds the alias to that folder, the same as a file.
Extensionless paths still prefer a `.rq` file: implicit_file_extension.
Related: import_paths, import_does_not_exist_error, file_references.

implementation
reqlan-imports.ts, reqlan-file-link-resolver.ts, reqlan-validator.ts
status
done
tests
implicit-import-extension.test.ts:filesystem lookups append .rq then accept an existing directory, validating.test.ts:does not report an error when an import path is an existing folder, linking.test.ts:folder import paths produce folder document links

Interactive page: import_folder_targets