1.1.2 • Published 6 months ago

@gitstart/gitslice-ignore v1.1.2

Weekly downloads
-
License
GPL-3.0-only
Repository
github
Last release
6 months ago

GitSlice Ignore

This library provides the reference/core implementation of the slicing algorithm used by GitSlice. All gitslice providers should reuse this library when handling gitslice push/pull operations.

Quick start

Install

$ npm install @gitstart/gitslice-ignore

Usage

Input your config and get the files to slice:

import { gitslice } from "@gitstart/gitslice-ignore"

const output = gitslice({
  mode: "ignore",
  pathsToIgnore: [],
  pathsToSlice: ["allow_slicing"],
  files: // list of files in the repo
})

// Output all the files that should be sliced from the repo.
console.log(output.filesToSlice)

Note that you can call this library on either the sliced repo or the upstream repo, as the same gitslice config should work for both. You may need to do both repos for specific steps of the gitslice push/pull operations.

1.1.2

6 months ago

1.1.1

6 months ago

1.1.0

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago

0.1.4

7 months ago

0.1.3

7 months ago

0.1.2

7 months ago

0.1.1

7 months ago

0.1.0

7 months ago