# Interface FileVisitDetails

All Superinterfaces:
  `FileTreeElement`

public interface FileVisitDetails extends FileTreeElement
Provides access to details about a file or directory being visited by a `FileVisitor`.

See Also:
  - `FileTree.visit(groovy.lang.Closure)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `stopVisiting()`
  Requests that file visiting terminate after the current file.

  ### Methods inherited from interface FileTreeElement

  `copyTo, copyTo, getFile, getLastModified, getName, getPath, getPermissions, getRelativePath, getSize, isDirectory, open`

- ## Method Details

  - ### stopVisiting

    void stopVisiting()
    Requests that file visiting terminate after the current file.