Liking cljdoc? Tell your friends :D

dots.vscode.file-stat

The FileStat-type represents metadata about a file

The `FileStat`-type represents metadata about a file
raw docstring

ctimecljs

(ctime file-stat)

The creation timestamp in milliseconds elapsed since January 1, 1970 00:00:00 UTC.

Returns: number

The creation timestamp in milliseconds elapsed since January 1, 1970 00:00:00 UTC.

**Returns:** `number`
sourceraw docstring

mtimecljs

(mtime file-stat)

The modification timestamp in milliseconds elapsed since January 1, 1970 00:00:00 UTC.

Note: If the file changed, it is important to provide an updated mtime that advanced from the previous value. Otherwise there may be optimizations in place that will not show the updated file contents in an editor for example.

Returns: number

The modification timestamp in milliseconds elapsed since January 1, 1970 00:00:00 UTC.

*Note:* If the file changed, it is important to provide an updated `mtime` that advanced
from the previous value. Otherwise there may be optimizations in place that will not show
the updated file contents in an editor for example.

**Returns:** `number`
sourceraw docstring

permissionscljs

(permissions file-stat)

The permissions of the file, e.g. whether the file is readonly.

Note: This value might be a bitmask, e.g. FilePermission.Readonly | FilePermission.Other.

Returns: FilePermission | undefined

The permissions of the file, e.g. whether the file is readonly.

*Note:* This value might be a bitmask, e.g. `FilePermission.Readonly | FilePermission.Other`.

**Returns:** `FilePermission | undefined`
sourceraw docstring

set-ctime!cljs

(set-ctime! file-stat value)

The creation timestamp in milliseconds elapsed since January 1, 1970 00:00:00 UTC.

The creation timestamp in milliseconds elapsed since January 1, 1970 00:00:00 UTC.
sourceraw docstring

set-mtime!cljs

(set-mtime! file-stat value)

The modification timestamp in milliseconds elapsed since January 1, 1970 00:00:00 UTC.

Note: If the file changed, it is important to provide an updated mtime that advanced from the previous value. Otherwise there may be optimizations in place that will not show the updated file contents in an editor for example.

The modification timestamp in milliseconds elapsed since January 1, 1970 00:00:00 UTC.

*Note:* If the file changed, it is important to provide an updated `mtime` that advanced
from the previous value. Otherwise there may be optimizations in place that will not show
the updated file contents in an editor for example.
sourceraw docstring

set-permissions!cljs

(set-permissions! file-stat value)

The permissions of the file, e.g. whether the file is readonly.

Note: This value might be a bitmask, e.g. FilePermission.Readonly | FilePermission.Other.

The permissions of the file, e.g. whether the file is readonly.

*Note:* This value might be a bitmask, e.g. `FilePermission.Readonly | FilePermission.Other`.
sourceraw docstring

set-size!cljs

(set-size! file-stat value)

The size in bytes.

Note: If the file changed, it is important to provide an updated size. Otherwise there may be optimizations in place that will not show the updated file contents in an editor for example.

The size in bytes.

*Note:* If the file changed, it is important to provide an updated `size`. Otherwise there
may be optimizations in place that will not show the updated file contents in an editor for
example.
sourceraw docstring

set-type!cljs

(set-type! file-stat value)

The type of the file, e.g. is a regular file, a directory, or symbolic link to a file.

Note: This value might be a bitmask, e.g. FileType.File | FileType.SymbolicLink.

The type of the file, e.g. is a regular file, a directory, or symbolic link
to a file.

*Note:* This value might be a bitmask, e.g. `FileType.File | FileType.SymbolicLink`.
sourceraw docstring

sizecljs

(size file-stat)

The size in bytes.

Note: If the file changed, it is important to provide an updated size. Otherwise there may be optimizations in place that will not show the updated file contents in an editor for example.

Returns: number

The size in bytes.

*Note:* If the file changed, it is important to provide an updated `size`. Otherwise there
may be optimizations in place that will not show the updated file contents in an editor for
example.

**Returns:** `number`
sourceraw docstring

typecljs

(type file-stat)

The type of the file, e.g. is a regular file, a directory, or symbolic link to a file.

Note: This value might be a bitmask, e.g. FileType.File | FileType.SymbolicLink.

Returns: FileType

The type of the file, e.g. is a regular file, a directory, or symbolic link
to a file.

*Note:* This value might be a bitmask, e.g. `FileType.File | FileType.SymbolicLink`.

**Returns:** `FileType`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close