Information found in an "open" request.
Information found in an "open" request.
(file open-request-args)
The file for the request (absolute pathname required).
Returns: string
The file for the request (absolute pathname required). **Returns:** `string`
(file-content open-request-args)
Used when a version of the file content is known to be more up to date than the one on disk. Then the known content will be used upon opening instead of the disk copy
Returns: string | undefined
Used when a version of the file content is known to be more up to date than the one on disk. Then the known content will be used upon opening instead of the disk copy **Returns:** `string | undefined`
(project-file-name open-request-args)
Returns: string | undefined
**Returns:** `string | undefined`
(project-root-path open-request-args)
Used to limit the searching for project config file. If given the searching will stop at this root path; otherwise it will go all the way up to the dist root path.
Returns: string | undefined
Used to limit the searching for project config file. If given the searching will stop at this root path; otherwise it will go all the way up to the dist root path. **Returns:** `string | undefined`
(script-kind-name open-request-args)
Used to specify the script kind of the file explicitly. It could be one of the following: "TS", "JS", "TSX", "JSX"
Returns: ScriptKindName | undefined
Used to specify the script kind of the file explicitly. It could be one of the following: "TS", "JS", "TSX", "JSX" **Returns:** `ScriptKindName | undefined`
(set-file! open-request-args value)
The file for the request (absolute pathname required).
The file for the request (absolute pathname required).
(set-file-content! open-request-args value)
Used when a version of the file content is known to be more up to date than the one on disk. Then the known content will be used upon opening instead of the disk copy
Used when a version of the file content is known to be more up to date than the one on disk. Then the known content will be used upon opening instead of the disk copy
(set-project-root-path! open-request-args value)
Used to limit the searching for project config file. If given the searching will stop at this root path; otherwise it will go all the way up to the dist root path.
Used to limit the searching for project config file. If given the searching will stop at this root path; otherwise it will go all the way up to the dist root path.
(set-script-kind-name! open-request-args value)
Used to specify the script kind of the file explicitly. It could be one of the following: "TS", "JS", "TSX", "JSX"
Used to specify the script kind of the file explicitly. It could be one of the following: "TS", "JS", "TSX", "JSX"
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close