Documentation

Overview

    Package vfsutil implements some I/O utility functions for vfs.FileSystem.

    Index

    Examples

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func Walk

    func Walk(fs vfs.FileSystem, root string, walkFn filepath.WalkFunc) error

      Walk walks the filesystem rooted at root, calling walkFn for each file or directory in the filesystem, including root. All errors that arise visiting files and directories are filtered by walkFn. The files are walked in lexical order.

      Example
      Output:
      
      /
      /a-file.txt
      /another-file.txt
      /folderA
      /folderA/entry-A.txt
      /folderA/entry-B.txt
      /zzz-last-file.txt
      

      Types

      This section is empty.

      Source Files