typeSync method

  1. @override
FileSystemEntityType typeSync(
  1. String path, {
  2. bool followLinks = true,
})
override

Syncronously finds the type of file system object that a path points to. Returns a io.FileSystemEntityType.

io.FileSystemEntityType.LINK will only be returned if followLinks is false, and path points to a link

If the path does not point to a file system object or an error occurs then io.FileSystemEntityType.notFound is returned.

Implementation

@override
io.FileSystemEntityType typeSync(String path, {bool followLinks = true}) =>
    io.FileSystemEntity.typeSync(path, followLinks: followLinks);