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

     1  package fsutil
     2  
     3  // ////////////////////////////////////////////////////////////////////////////////// //
     4  //                                                                                    //
     5  //                         Copyright (c) 2022 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  	panic("UNSUPPORTED")
    19  	return nil
    20  }
    21  
    22  // ❗ MoveFile moves file
    23  func MoveFile(from, to string, perms ...os.FileMode) error {
    24  	panic("UNSUPPORTED")
    25  	return nil
    26  }
    27  
    28  // ❗ CopyDir copies directory content recursively to target directory
    29  func CopyDir(from, to string) error {
    30  	panic("UNSUPPORTED")
    31  	return nil
    32  }
    33  
    34  // ❗ TouchFile creates empty file
    35  func TouchFile(path string, perm os.FileMode) error {
    36  	panic("UNSUPPORTED")
    37  	return nil
    38  }