|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
395 bytes
|
| Line | |
|---|
| 1 | /**
|
|---|
| 2 | Get the real path of the system temp directory.
|
|---|
| 3 |
|
|---|
| 4 | @example
|
|---|
| 5 | ```
|
|---|
| 6 | import * as os from 'os';
|
|---|
| 7 | import tempDirectory = require('temp-dir');
|
|---|
| 8 |
|
|---|
| 9 | console.log(tempDirectory);
|
|---|
| 10 | //=> '/private/var/folders/3x/jf5977fn79jbglr7rk0tq4d00000gn/T'
|
|---|
| 11 |
|
|---|
| 12 | console.log(os.tmpdir());
|
|---|
| 13 | //=> '/var/folders/3x/jf5977fn79jbglr7rk0tq4d00000gn/T' // <= Symlink
|
|---|
| 14 | ```
|
|---|
| 15 | */
|
|---|
| 16 | declare const tempDirectory: string;
|
|---|
| 17 |
|
|---|
| 18 | export = tempDirectory;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.