pkg.re/essentialkaos/ek@v12.36.0+incompatible/fsutil/helpers_windows.go (about)

     1  package fsutil
     2  
     3  // ////////////////////////////////////////////////////////////////////////////////// //
     4  //                                                                                    //
     5  //                         Copyright (c) 2021 ESSENTIAL KAOS                          //
     6  //      Apache License, Version 2.0 <https://www.apache.org/licenses/LICENSE-2.0>     //
     7  //                                                                                    //
     8  // ////////////////////////////////////////////////////////////////////////////////// //
     9  
    10  import (
    11  	"os"
    12  )
    13  
    14  // ////////////////////////////////////////////////////////////////////////////////// //
    15  
    16  // CopyFile copies file using bufio
    17  func CopyFile(from, to string, perms ...os.FileMode) error {
    18  	return nil
    19  }
    20  
    21  // MoveFile moves file
    22  func MoveFile(from, to string, perms ...os.FileMode) error {
    23  	return nil
    24  }
    25  
    26  // CopyDir copies directory content recursively to target directory
    27  func CopyDir(from, to string) error {
    28  	return nil
    29  }
    30  
    31  // TouchFile creates empty file
    32  func TouchFile(path string, perm os.FileMode) error {
    33  	return nil
    34  }
    35  
    36  // ////////////////////////////////////////////////////////////////////////////////// //