local k=os local W=require("\112\108\046\117\116\105\108\115")local s=require("\112\108\046\100\105\114")local M=require("\112\108\046\112\097\116\104")local E={read=W.readfile;write=W.writefile;copy=s.copyfile,move=s.movefile;access_time=M.getatime;creation_time=M.getctime,modified_time=M.getmtime;delete=k.remove}return E
---@meta

local os = os
local utils = require("pl.utils")
local dir = require("pl.dir")
local path = require("pl.path")

---# Module [`pl.file`](https://lunarmodules.github.io/Penlight/libraries/pl.file.html)
---
---File manipulation functions: reading, writing, moving and copying.
---
---This module wraps a number of functions from other modules into a file related module for convenience.
---
---Dependencies:
--- [`pl.utils`](https://lunarmodules.github.io/Penlight/libraries/pl.utils.html#),
--- [`pl.dir`](https://lunarmodules.github.io/Penlight/libraries/pl.dir.html#),
--- [`pl.path`](https://lunarmodules.github.io/Penlight/libraries/pl.path.html#)
local file = {
	read = utils.readfile,
	write = utils.writefile,
	copy = dir.copyfile,
	move = dir.movefile,
	access_time = path.getatime,
	creation_time = path.getctime,
	modified_time = path.getmtime,
	delete = os.remove,
}

return file
