implicit final
class
FsExtensions extends AnyVal
Instance Constructors
-
new
FsExtensions(fs: Fs)
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
def
accessAsync(path: |[Buffer, String], mode: FileMode = null): Promise[Unit]
-
def
appendFileAsync(file: |[|[Buffer, FileDescriptor], String], data: |[Buffer, String], options: FileAppendOptions = null): Promise[Unit]
-
final
def
asInstanceOf[T0]: T0
-
def
chmodAsync(path: |[Buffer, String], mode: FileMode, callback: Function1[FileIOError, Any]): Promise[Unit]
-
def
closeAsync(fd: FileDescriptor): Promise[Unit]
-
def
existsAsync(path: String): Promise[Boolean]
-
def
fdatasyncAsync(fd: FileDescriptor): Promise[Unit]
-
val
fs: Fs
-
def
futimesAsync(fd: FileDescriptor, atime: Integer, mtime: Integer): Promise[Unit]
-
def
getClass(): Class[_ <: AnyVal]
-
final
def
isInstanceOf[T0]: Boolean
-
def
lchmodAsync(path: |[Buffer, String], mode: FileMode): Promise[Unit]
-
def
lchownAsync(path: |[Buffer, String], uid: UID, gid: GID): Promise[Unit]
-
def
linkAsync(srcpath: |[Buffer, String], dstpath: |[Buffer, String]): Promise[Unit]
-
def
mkdirAsync(path: |[Buffer, String], mode: FileMode = null): Promise[Unit]
-
def
openAsync(path: |[Buffer, String], flags: Flags, mode: FileMode = null): Promise[FileDescriptor]
-
def
readAsync(fd: FileDescriptor, buffer: Buffer, offset: Int, length: Int, position: Int): Promise[(Int, Buffer)]
-
def
readFileAsync(file: String, options: FileInputOptions = null): Promise[Any]
-
def
readdirAsync(path: |[Buffer, String], options: |[|[String, FileEncodingOptions], RawOptions] = null): Promise[Array[String]]
-
def
realpathAsync(path: String, options: FileEncodingOptions = null): Promise[String]
-
def
renameAsync(oldPath: String, newPath: String): Promise[Unit]
-
def
rmdirAsync(path: |[Buffer, String]): Promise[Unit]
-
def
statAsync(path: String): Promise[Stats]
-
def
symlinkAsync(target: |[Buffer, String], path: |[Buffer, String], type: String = null): Promise[Unit]
-
def
toString(): String
-
def
unlinkAsync(path: |[Buffer, String]): Promise[Unit]
-
def
unwatchFileAsync(filename: |[Buffer, String]): Promise[Unit]
-
def
utimesAsync(path: |[Buffer, String], atime: Int, mtime: Int): Promise[Unit]
-
def
watchAsync(filename: String, options: FSWatcherOptions = null): Promise[(String, String)]
-
def
writeAsync(fd: FileDescriptor, string: String): Promise[(FileType, String)]
-
def
writeAsync(fd: FileDescriptor, string: String, position: Int): Promise[(FileType, String)]
-
def
writeAsync(fd: FileDescriptor, string: String, position: Int, encoding: String): Promise[(FileType, String)]
-
def
writeAsync(fd: FileDescriptor, buffer: |[Buffer, Uint8Array], offset: Integer = null, length: Integer = null, position: Integer = null): Promise[(FileType, Buffer)]
-
def
writeFileAsync(file: String, data: |[Buffer, String], options: FileOutputOptions = null): Promise[Unit]
Inherited from AnyVal
Inherited from Any
File System Extensions