canonical / chisel

GNU Affero General Public License v3.0
270 stars 42 forks source link

Have we considered moving this function outside of `cmd_cut` now that `cmd_info` also relies on it? #103

Open cjdcordeiro opened 10 months ago

cjdcordeiro commented 10 months ago
          Have we considered moving this function outside of `cmd_cut` now that `cmd_info` also relies on it?

Coincidentally, there is a comment above suggesting moving these functions into their own file:

// TODO These need testing, and maybe moving into a common file.

_Originally posted by @letFunny in https://github.com/canonical/chisel/pull/101#discussion_r1392431029_