Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The macOS API for creating copy on write clones of files

License

NotificationsYou must be signed in to change notification settings

sverrejoh/rclonefile

Repository files navigation

The macOS API for creating copy on write clones of files.

Description

This is a small wrapper around theclonefile API on macOS for cloningfiles using the APFS file system.

Usage

async/await

import{cloneFile}from"rclonefile";awaitcloneFile("source/mario.txt","target/mario-clone-txt");

Promise

import{cloneFile}from"rclonefile";cloneFile("source/mario.txt","target/mario-clone-txt").then(()=>{// Success})

Sync API

import{cloneFileSync}from"rclonefile";cloneFileSync("source/mario.txt","target/mario-clone-txt");

Links

About

The macOS API for creating copy on write clones of files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp