Procs
proc unlinkImpl[T](p: PathLike[T]; winIgnoreRO: static[bool] = false): bool
-
Removes the file at p.
If this fails, returns false. This raises FileNotFoundError if the file never existed.
On Windows, ignores the read-only attribute.
Hint: not available in JavaScript, NimScript backendSource Edit
Exports
-
osErrorMsgWithPath, byteLen, repr, raiseExcWithPath2, toPyStr, substr, items, raiseFileNotFoundError, ==, str, chars, PyStr, getChar, and, $, NotADirectoryError, +=, $, pathsAsOne, [], +=, raiseExcWithPath, osErrorMsgWithPath, substr, bytes, raiseExcWithPath, bytes, runeLenAt, raiseFileNotFoundError, contains, CanIOOpenT, FileNotFoundError, +, runes, ==, fspath, noWeirdTarget, str, chars, PathLike, len, None, +, bytes, toPyStr, ==, @, NoneType, mapPathLike, str, FileExistsError, +, toPyStr, substr, len, not, PyBytes, str, StringLike, toNimString, +, bytes, repr, pathrepr, not, raiseErrnoWithPath, contains, getChar, $, [], +=, hasChar, $, getCharPtr, ==, runeAtPos, fspath, raiseErrno, +=, +, pathrepr, +=, IsADirectoryError, errnoMsg, tryOsOp, raiseFileExistsError, [], str, contains, or, byteLen, items, bytes, bytes, fspath, len, bytes, mapPathLike, +, toNimString, raiseExcWithPath, str, [], +, +=, or, bytes, pybytes, toNimStr, fspath, raiseExcWithPath, [], isNotFound, []