diff options
Diffstat (limited to 'js/dir.ts')
-rw-r--r-- | js/dir.ts | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -5,11 +5,11 @@ import * as flatbuffers from "./flatbuffers"; import { sendSync } from "./dispatch"; /** - * cwd() Return a string representing the current working directory. + * `cwd()` Return a string representing the current working directory. * If the current directory can be reached via multiple paths - * (due to symbolic links), cwd() may return + * (due to symbolic links), `cwd()` may return * any one of them. - * throws NotFound exception if directory not available + * throws `NotFound` exception if directory not available */ export function cwd(): string { const builder = flatbuffers.createBuilder(); @@ -24,8 +24,8 @@ export function cwd(): string { } /** - * chdir() Change the current working directory to path. - * throws NotFound exception if directory not available + * `chdir()` Change the current working directory to path. + * throws `NotFound` exception if directory not available */ export function chdir(directory: string): void { const builder = flatbuffers.createBuilder(); |